Closed patrikhuber closed 7 years ago
sdist
should work already. This repository is tested that way. The non-python files which are included in the distribution need to be specified in the MANIFEST.in
file. Maybe this file is missing in your case or doesn't list all the required files?
Aah. Completely my bad, apologies. I was actually looking for a file like that in this repo but must have overlooked it. Thanks, working great now!
Hi!
The setup.py script here is awesome and works great. I can successfully do
pip install .\myproject
to install locally andcd myproject && python setup.py bdist_wheel
to create a wheel to distribute for the current platform. However what doesn't really work is creating a source distribution (sdist
) so others can build it from pypi when a wheel is not available (or on Linux).python setup.py sdist
runs and creates a .tar.gz, but it doesn't contain any source or CMake files so obviously it can't build. I read that there's different ways of including files in ansdist
but I can't really figure out how to go on in the case of a CMake project like this. Has any of you worked with that before and encountered this issue?Thanks!