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

Fix setup.py #445

Merged
merged 1 commit into from
Jul 10, 2018
Merged

Fix setup.py #445

merged 1 commit into from
Jul 10, 2018

Conversation

ob-stripe
Copy link
Contributor

@ob-stripe ob-stripe commented Jul 10, 2018

r? @brandur-stripe
cc @stripe/api-libraries

Fixes setup.py so that it can be run from any directory (which is what our release tooling does).

Fixes #444.


with open(path.join(here, 'LONG_DESCRIPTION.rst'), encoding='utf-8') as f:
os.chdir(here)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the actual fix.

exec(f.read(), version_contents)

tests_require = [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was just a remainder after merging the integration-v2 branch.

@@ -75,6 +72,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Opportunistically added that we support Python 3.7 which was recently released.

@brandur-stripe
Copy link
Contributor

LGTM.

@ob-stripe ob-stripe merged commit 02cd937 into master Jul 10, 2018
@ob-stripe ob-stripe deleted the ob-fix-setup-py branch July 10, 2018 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants