-
Notifications
You must be signed in to change notification settings - Fork 704
Description
Installation of the master branch with pip is currently supported by pip install git+https://github.com/clab/dynet#egg=dynet.
To support installation by a simple pip install dynet (and versioning!), we need to upload a binary distribution package to PyPI. I think it would be a good idea to upload a precompiled .whl file, to reduce installation time significantly. It must be a separate file for Linux, OSX and Windows, compiled on the respective systems. I think this should be done once there is a 2.0 release.
However, I'm pretty sure it won't work with the current configuration where there is a main setup.py calling the python/setup.py which is generated from setup.py.in, because this way the main one doesn't know about the Cython extensions, and they are missing from the created wheel. Therefore, I believe the two setup.py files should be combined into a single static one, maybe replacing the CMake ${...} directives by environment variables or parameters.