Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic wheel building support #55

Closed
wants to merge 3 commits into from
Closed

Basic wheel building support #55

wants to merge 3 commits into from

Conversation

kgaughan
Copy link

These are the code changes mentioned in #54, as well as fixing the dependency list in setup.py to match requirements.txt.

With this, a wheel can be built like so:

$ python3 -m venv .venv
$ .venv/bin/pip install -r dev-requirements.txt
$ .venv/bin/python setup.py sdist bdist_wheel

These are the code changes mentioned in #54, as well as fixing the
dependency list in `setup.py` to match `requirements.txt`.

With this, a wheel can be built like so:
```
$ python3 -m venv .venv
$ .venv/bin/pip install -r dev-requirements.txt
$ .venv/bin/python setup.py sdist bdist_wheel
```
@kgaughan
Copy link
Author

I had to remove the pegged wheel version because of 3.4 compatibility. I also added test builds against 3.7 and 3.8.

DavidMuller added a commit that referenced this pull request May 27, 2020
## What

This PR preps the repository for publishing a wheel as per @kgaughan 's recommendations in:

- `Request: release aws-requests-auth as a wheel` - #54
- `Basic wheel building support` - #55
@DavidMuller
Copy link
Owner

DavidMuller commented May 27, 2020

Thanks @kgaughan - I've used this as a base to publish a wheel (mostly contained to PR #56)

aws-requests-auth version 0.4.3 should have a wheel

@@ -10,7 +10,10 @@
url='https://github.com/davidmuller/aws-requests-auth',
description='AWS signature version 4 signing process for the python requests module',
long_description='See https://github.com/davidmuller/aws-requests-auth for installation and usage instructions.',
install_requires=['requests>=0.14.0'],
install_requires=[
'botocore>=1.7.8',
Copy link
Owner

@DavidMuller DavidMuller May 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,3 +1,2 @@
mock==1.3.0
requests==2.20.0
Copy link
Owner

@DavidMuller DavidMuller May 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right now requirements.txt is just for people developing new features aws_requests_auth - it is not involved in the setup.py / package publishing component of the repo (although I imagine an argument could be made that it "should be").

Since aws-requests-auth is not under active development, #56 ("Prep for wheel support on pypi") excludes this change

@kgaughan kgaughan deleted the wheels branch May 28, 2020 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants