Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Wheel packaging format for pypi.org #156
I have no problem with that in principle if it will upload a
However, the changes above aren't enough to get it working.
~/JohnPython/XlsxWriter (master)$ cat setup.cfg [wheel] universal = 1 $ python setup.py sdist bdist_wheel usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel'
I thought that changing from distutils to setuptools would fix this but it doesn't:
$ ~/Work/Python/XlsxWriter (master)$ git diff diff --git a/setup.py b/setup.py index 5d31018..fe239df 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from distutils.core import setup +from setuptools import setup setup( name='XlsxWriter',
$ python setup.py sdist bdist_wheel Traceback (most recent call last): File "setup.py", line 23, in <module> 'Programming Language :: Python :: 3.4', ... NameError: name 'sys_platform' is not defined
So, twenty minutes later this has moved from a "nice to have" to a minor pita.
If you can demonstrate a painless way of implementing it then I'll add it.