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

Upload wheels to PyPI #3

Closed
dahlia opened this Issue Mar 1, 2014 · 9 comments

Comments

Projects
None yet
2 participants
@dahlia

dahlia commented Mar 1, 2014

Mistune seems to provide an optional C extension for optimization which makes it even more faster. I think it would be great if we can install optimized prebuilt binary distribution by default.

Discussion also is needed to make decision which major platforms to support.

@lepture

This comment has been minimized.

Show comment
Hide comment
@lepture

lepture Mar 1, 2014

Owner

@dahlia I am not sure if wheels is a good solution. I am happy with the building process, it won't take much time.

Building wheels takes too much effort, since there are too many platforms. Every time, when I release a version, I will need to build them.

My working machine is a MacBook Air, if this is the only platform I need to support, I am happy with it. But it won't be the case, it will be a pity for people on Debian/Ubuntu, Fedora/CentOS, etc.

The pure Python version is fast enough, it is faster than every pure Python implementation, this is the key value of this project. Fast and complete in pure Python.

I am still open for this issue. A discussion about wheels support is welcome.

Owner

lepture commented Mar 1, 2014

@dahlia I am not sure if wheels is a good solution. I am happy with the building process, it won't take much time.

Building wheels takes too much effort, since there are too many platforms. Every time, when I release a version, I will need to build them.

My working machine is a MacBook Air, if this is the only platform I need to support, I am happy with it. But it won't be the case, it will be a pity for people on Debian/Ubuntu, Fedora/CentOS, etc.

The pure Python version is fast enough, it is faster than every pure Python implementation, this is the key value of this project. Fast and complete in pure Python.

I am still open for this issue. A discussion about wheels support is welcome.

@lepture

This comment has been minimized.

Show comment
Hide comment
@lepture

lepture Mar 1, 2014

Owner

I am not familiar with wheels, need some time to dig into it.

Owner

lepture commented Mar 1, 2014

I am not familiar with wheels, need some time to dig into it.

@dahlia

This comment has been minimized.

Show comment
Hide comment
@dahlia

dahlia Mar 1, 2014

It actually is not really necessary as you argued. Feel free; I have not that strong opinion about it.

When it comes to Linux, AFAIK it doesn’t depend on Linux distribution, but Python implementation/version e.g. py27, ABI e.g. cp33m, and process architecture e.g. linux_x86_64. See also File Format section of PEP 427. IMHO we don’t have to support all available combinations in the matrix. Travis CI also might be helpful to build some of them.

FYI wheel is useful even for pure Python packages, because it fastens pip’s installation process.

dahlia commented Mar 1, 2014

It actually is not really necessary as you argued. Feel free; I have not that strong opinion about it.

When it comes to Linux, AFAIK it doesn’t depend on Linux distribution, but Python implementation/version e.g. py27, ABI e.g. cp33m, and process architecture e.g. linux_x86_64. See also File Format section of PEP 427. IMHO we don’t have to support all available combinations in the matrix. Travis CI also might be helpful to build some of them.

FYI wheel is useful even for pure Python packages, because it fastens pip’s installation process.

@lepture

This comment has been minimized.

Show comment
Hide comment
@lepture

lepture Mar 2, 2014

Owner

I'll look into it when another two or three people have a request for wheels.

Owner

lepture commented Mar 2, 2014

I'll look into it when another two or three people have a request for wheels.

@lepture lepture closed this Jul 12, 2014

@lepture lepture reopened this Aug 14, 2014

@lepture

This comment has been minimized.

Show comment
Hide comment
@lepture

lepture Aug 14, 2014

Owner

@dahlia I am planing to upload wheels to PyPI. But I can't create the right wheels.

I've found that Cython, Pandas, and Numpy all endswith:

macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl

But my Python interpreter can build such thing. Even use the --plat-name for bdist_wheel. Any thought on this?

Owner

lepture commented Aug 14, 2014

@dahlia I am planing to upload wheels to PyPI. But I can't create the right wheels.

I've found that Cython, Pandas, and Numpy all endswith:

macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl

But my Python interpreter can build such thing. Even use the --plat-name for bdist_wheel. Any thought on this?

@dahlia

This comment has been minimized.

Show comment
Hide comment
@dahlia

dahlia Aug 14, 2014

How is your wheel named?

dahlia commented Aug 14, 2014

How is your wheel named?

@lepture

This comment has been minimized.

Show comment
Hide comment
@lepture

lepture Aug 14, 2014

Owner

@dahlia I've found some resources. It seems you can't build wheel macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl on your own machine without any modification.

  1. https://gist.github.com/matthew-brett/51bdd3c817bd6541b950
  2. https://github.com/MacPython/wiki/wiki/Spinning-wheels
  3. https://github.com/MacPython/wiki/wiki/Wheel-building

We can use Travis CI to build wheels for everything.

Owner

lepture commented Aug 14, 2014

@dahlia I've found some resources. It seems you can't build wheel macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl on your own machine without any modification.

  1. https://gist.github.com/matthew-brett/51bdd3c817bd6541b950
  2. https://github.com/MacPython/wiki/wiki/Spinning-wheels
  3. https://github.com/MacPython/wiki/wiki/Wheel-building

We can use Travis CI to build wheels for everything.

@dahlia

This comment has been minimized.

Show comment
Hide comment
@dahlia

dahlia Aug 14, 2014

In order to build Mac binaries we probably need to choose Objective-C as language of .travis.yml.

dahlia commented Aug 14, 2014

In order to build Mac binaries we probably need to choose Objective-C as language of .travis.yml.

@lepture

This comment has been minimized.

Show comment
Hide comment
Owner

lepture commented Aug 18, 2014

Done: 3ae489a

@lepture lepture closed this Aug 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment