Skip to content

Commit

Permalink
Start building universal wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed Feb 23, 2018
1 parent 689baae commit aa5c968
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2010-2011 Stripe (http://stripe.com)
Copyright (c) 2010-2018 Stripe (http://stripe.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[bdist_wheel]
universal = 1

[metadata]
license_file = LICENSE
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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']},
Expand Down

0 comments on commit aa5c968

Please sign in to comment.