-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[metadata] | ||
license_file = LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,9 +28,9 @@ | |
with open('LONG_DESCRIPTION.rst') as f: | ||
long_description = f.read() | ||
|
||
# Don't import stripe module here, since deps may not be installed | ||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'stripe')) | ||
from version import VERSION | ||
version_contents = {} | ||
with open(os.path.join('stripe', 'version.py')) as f: | ||
exec(f.read(), version_contents) | ||
|
||
# Get simplejson if we don't already have json | ||
if sys.version_info < (3, 0): | ||
|
@@ -42,12 +42,13 @@ | |
|
||
setup( | ||
name='stripe', | ||
version=VERSION, | ||
description='Stripe python bindings', | ||
version=version_contents['VERSION'], | ||
description='Python bindings for the Stripe API', | ||
long_description=long_description, | ||
author='Stripe', | ||
author_email='[email protected]', | ||
url='https://github.com/stripe/stripe-python', | ||
license='MIT', | ||
packages=['stripe', 'stripe.api_resources', | ||
'stripe.api_resources.abstract'], | ||
package_data={'stripe': ['data/ca-certificates.crt']}, | ||
|