milcent / benford_py

Python implementation of Benford's Law tests.
BSD 3-Clause "New" or "Revised" License
151 stars 52 forks source link

No such file or directory: '/wrkdirs/usr/ports/math/py-benford_py/work-py37/benford_py-0.3.2/README-pypi.md' #48

Closed yurivict closed 3 years ago

yurivict commented 3 years ago

The build of the tarball 0.3.2 from the PyPI page fails:

===>  Configuring for py37-benford_py-0.3.2
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 6, in <module>
    with open(path.join(this_directory, 'README-pypi.md'), encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/wrkdirs/usr/ports/math/py-benford_py/work-py37/benford_py-0.3.2/README-pypi.md'
*** Error code 1
milcent commented 3 years ago

That is weird... I have checked and it is really not buiding the dist with this file, that I use with slight modifications from the README to better show in Pypi, since it is markdown. Could you install using pip? From PyPI: python -m pip install benford_py or directly from the github repo: python -m pip install git+https://github.com/milcent/benford_py.git@master