Closed hashken closed 10 years ago
@Arfrever Do you think this issue might be related to your patch https://github.com/html2text/html2text/issues/18 ?
https://github.com/Alir3z4/html2text/blob/master/setup.py contains py_modules=['html2text']
. py_modules
is for *.py regular files, not packages (i.e. directories). This line should be deleted.
(This line should not be a cause of test failures.)
@hashken: Please show full command used to run tests and full output of tests.
@Arfrever Thanks for clarifying the issue.
I have:
file html2text.py (for module html2text) not found
warning upon installation too, which never caused any errors. I'll fix that in future release.
I mark this issue as invalid
and bug
until @hashken help us in reproducing the issue.
I face this error when trying to install the python2-html2text package from AUR. The error log can be found at http://paste.ubuntu.com/8502044/
@hashken Thank you for the traceback, although I can't reproduce this error at all.
(defEnv)[alireza@arch ~]$ wget http://pypi.python.org/packages/source/h/html2text/html2text-2014.9.25.tar.gz
(defEnv)[alireza@arch ~]$ extract html2text-2014.9.25.tar.gz && cd html2text-2014.9.25/
(defEnv)[alireza@arch html2text-2014.9.25]$ python setup.py test
running test
..................................
----------------------------------------------------------------------
Ran 34 tests in 0.720s
OK
This is related to https://aur.archlinux.org/packages/py/python2-html2text/PKGBUILD for sure and you can report the issue on its comment section to solve the issue.
Thanks @hashken and @Arfrever ;)
I close the issue, feel free to re-open and comment if necessary.
When I try to install html2text, 15 of the 34 tests are failing.
When setup.py is running, the following message is thrown
file html2text.py (for module html2text) not found
This most probably seems to be the reason for the tests failing. Any solutions to this problem?