Closed abstractguy closed 2 years ago
Doesn't this prevent users to do a pip install -r requirements.txt
?
How do you keep that "functionality" ?
Doesn't this prevent users to do a
pip install -r requirements.txt
? How do you keep that "functionality" ?
It doesn't change the old behavior at all. The single dot inside requirements.txt just refers to the packages defined in install_requires, in the setup.py file. This will prevent multiple (and conflicting) definitions, such as those inconsistencies fixed by the commits from yesterday, while enabling custom (partial) installs, say you don't want tensorflow or pytorch or ray or stable_baselines; you just specify those extras you want in that case. The "optional" extra groups all extra requirements, for a more concise install (pip install tensortrade[optional]).