I'm seeing the following output when I run python setup.py build install on my Windows machine:
running build
running build_py
running install
running install_lib
copying build\lib\cellh5.py -> C:\Python27\Lib\site-packages
copying build\lib\cellh5write.py -> C:\Python27\Lib\site-packages
creating C:\Python27\Lib\site-packages\hmm_wrapper
copying build\lib\hmm_wrapper\cellh5.py -> C:\Python27\Lib\site-packages\hmm_wrapper
copying build\lib\hmm_wrapper\cellh5write.py -> C:\Python27\Lib\site-packages\hmm_wrapper
copying build\lib\hmm_wrapper\__init__.py -> C:\Python27\Lib\site-packages\hmm_wrapper
byte-compiling C:\Python27\Lib\site-packages\cellh5.py to cellh5.pyc
byte-compiling C:\Python27\Lib\site-packages\cellh5write.py to cellh5write.pyc
byte-compiling C:\Python27\Lib\site-packages\hmm_wrapper\cellh5.py to cellh5.pyc
byte-compiling C:\Python27\Lib\site-packages\hmm_wrapper\cellh5write.py to cellh5write.pyc
byte-compiling C:\Python27\Lib\site-packages\hmm_wrapper\__init__.py to __init__.pyc
running install_data
warning: install_data: setup script did not provide a directory for '' -- installing right in 'C:\Python27'
error: can't copy '': doesn't exist or not a regular file
The install does place cellh5.py and cellh5write.py in site-packages and installs hmm_wrapper correctly, but leaves an extra copy of cellh5.py and cellh5write.py in the hmm_wrapper directory. Also, the hmm_constraint.xsd file is not copied to the hmm_wrapper directory.
When I tried fixing this by hand, I discovered that the following change needed to be made to setup.py:
setup(name='cellh5',
version = cellh5.version,
I'm seeing the following output when I run
python setup.py build installon my Windows machine:The install does place cellh5.py and cellh5write.py in site-packages and installs hmm_wrapper correctly, but leaves an extra copy of cellh5.py and cellh5write.py in the hmm_wrapper directory. Also, the hmm_constraint.xsd file is not copied to the hmm_wrapper directory.
When I tried fixing this by hand, I discovered that the following change needed to be made to setup.py: