Closed mxposed closed 1 year ago
Hi, sorry I didn't reply earlier Thank you for the helpful suggestion. For now we don't want to put the data files into the package but we'll continue thinking about that and might come back to this later.
Hi, no worries. Sorry I misinterpreted your intention, please feel free to close this pull request
Judging from the notebook, I thought that you'd like to put the data files in the package itself, so if this is indeed the case, here's a pull request to do it properly.
First, I switched to
find_packages
to discover packages, in case you will have some subpackages inspectra
directory. For this to work, I also added the__init__.py
file (which is actually required for python packages). And then I moved data inside the package and added corresponding installation intosetup.py
Also, I am installing directly from github with
pip install git+https://github.com/dpeerlab/spectra#egg=spectra
, or some people even do it by linking to github release archive, so you don't need git to install.Hope this helps