-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Installing via pip install -e . is broken. When importing pygad installed in such a way it is an empty module:
In [1]: import pygad as pg
In [2]: dir(pg)
Out[2]:
['__doc__',
'__file__',
'__loader__',
'__name__',
'__package__',
'__path__',
'__spec__']
As suggested by pypa/setuptools#3548 (comment) we can install pygad as
pip install -e . --config-settings editable_mode=strictand voila
In [1]: import pygad as pg
In [2]: dir(pg)
Out[2]:
['BallMask',
'BoxMask',
'C',
...
'units',
'utils',
'write']
Should this be included in the docs?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels