Is there a way to pass install args through install_requires
in setuptools?
What I'm trying to do specifically is install PyAMF using the --disable-ext
arg. I've tried variations of:
from setuptools import setup
setup(
install_requires=["pyamf[disable-ext]==0.6.1"]
)
But the args don't seem to be passed that way (I may be misunderstanding the usage of []
in the install_requires
context though).
Edit:
As Epic_orange pointed out, of course I can do this manually with python setup.py --disable-ext
, but I'm trying to automate this. My current solution is scripted, but I'm not happy with how this single package stands alone and I'm trying to find a way to stick it in with the rest of the dependencies.