Requirements issue
dbaio opened this issue · 2 comments
dbaio commented
Hi.
Noticing these issues in the build process.
===> Configuring for py36-wlc-1.1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 25, in <module>
VERSION = __import__("wlc").__version__
File "/wrkdirs/usr/ports/devel/py-wlc/work-py36/wlc-1.1/wlc/__init__.py", line 23, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
*** Error code 1\
===> Configuring for py36-wlc-1.2
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 26, in <module>
VERSION = __import__("wlc").__version__
File "/wrkdirs/usr/ports/devel/py-wlc/work-py36/wlc-1.2/wlc/__init__.py", line 25, in <module>
import dateutil.parser
ModuleNotFoundError: No module named 'dateutil'
*** Error code 1
As they are called in __init__.py
, they need to be on setup_requires()
, not only on install_requires()
, or the init code needs to be moved to another place.
Regards.