TRASAL / psrdada-python

Python bindings to the PSRDada ringbuffer implementation
https://trasal.github.io/psrdada-python/index.html
Other
10 stars 8 forks source link

Install issue: No such file or directory: 'psrdada/__version__.py' #1

Closed devanshkv closed 4 years ago

devanshkv commented 4 years ago

The installation requires a __version__.py file?

python setup.py build_ext --inplace
/home/dagarwal/soft/conda/envs/dada_test/lib/python3.8/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
  warnings.warn(
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    with open(path.join('psrdada', '__version__.py')) as version_file:
FileNotFoundError: [Errno 2] No such file or directory: 'psrdada/__version__.py'
make: *** [all] Error 1
isazi commented 4 years ago

Not sure, better ask @jiskattema or @loostrum if they can help.

devanshkv commented 4 years ago

It's a simple fix, I can send a PR. The contributing guidelines suggest asking @jiskattema first.

jiskattema commented 4 years ago

Thanks for trying out our software! I added the missing __version__.py.

I'm not sure the way we use the psrdada library and header files is the best or easiest way; let me know if you have issues with building. PR's are always welcome.