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

distribute universal wheels #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ help:
@echo " push - 'git push' to all hosted repositories"

release: clean test upload-doc
python setup.py sdist upload
python setup.py sdist bdist_wheel upload

dist: clean
python setup.py sdist
python setup.py sdist bdist_wheel

build: doc
@bin/python setup.py build
Expand Down
2 changes: 0 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ Every time you copy-and-paste code into a utils.py God kills a Unicorn.
Please do not repeat yourself. Evolve this library instead.

The library works with Python 2.5+, PyPy, and Python 3.x.
The RSA cryptography modules depend on pyasn1, which has not
been ported to Python 3.x, so this is pending.

Please visit: http://gorakhargosh.github.com/mom/ for more information.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
65 changes: 32 additions & 33 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,42 +45,41 @@ def pycrypto_complain(version):
pycrypto_complain(None)


install_requires = [
setup(
name="mom",
version="0.1.3",
license="Apache Software License 2.0",
url="https://github.com/gorakhargosh/mom",
description="Python utility library.",
long_description=__doc__,
author="Yesudeep Mangalapilly",
author_email="yesudeep@google.com",
zip_safe=True,
platforms="any",
packages=["mom"],
include_package_data=True,
install_requires=[
"pyasn1 >= 0.1.1",
'simplejson; python_version<"2.7"',
],
# Binary dependency. Allow the user to decide whether she wants to pull this
# in or not. For example, App Engine provides its own version of PyCrypto
# which is written in pure Python. Forcing this dependency will cause
# compatibility problems on that platform.
#"PyCrypto >=2.0.1",
extras_require={
"crypto": ["PyCrypo>=2.0.1"],
},
keywords=' '.join([
"python",
"utilities",
]),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
if sys.version_info < (3, 0, 0):
install_requires.append("pyasn1 >=0.0.13b")
if sys.version_info < (2, 6, 0):
install_requires.append("simplejson >=2.1.3")


setup(name="mom",
version="0.1.3",
license="Apache Software License 2.0",
url="http://github.com/gorakhargosh/mom",
description="Python utility library.",
long_description=__doc__,
author="Yesudeep Mangalapilly",
author_email="yesudeep@google.com",
zip_safe=True,
platforms="any",
packages=["mom"],
include_package_data=True,
install_requires=install_requires,
keywords=' '.join([
"python",
"utilities",
]),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
)
)