-
Notifications
You must be signed in to change notification settings - Fork 432
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
Fix setup.py #445
Conversation
|
||
with open(path.join(here, 'LONG_DESCRIPTION.rst'), encoding='utf-8') as f: | ||
os.chdir(here) |
There was a problem hiding this comment.
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 = [ |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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.
LGTM. |
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.