devpi-builder icon indicating copy to clipboard operation
devpi-builder copied to clipboard

Read requirements from setup.py

Open stchris opened this issue 10 years ago • 1 comments

Hello! Awesome project!

I'd love it if I could pass a setup.py file to devpi-builder. I have a project where I specify the dependencies in the install_requires attribute of the setuptools dict. It should be possible to get the output via python setup.py --requires, but in a quick test that didn't work for me.

I'll try to submit a PR for this.

stchris avatar Jun 12 '15 07:06 stchris

Sounds like a fancy feature. How do you plan to handle indirect dependencies? Building from a requirements.txt these are ignored by devpi-builder. I am asking as other than in requirements.txt these are usually not included in setup.py.

ghost avatar Jun 12 '15 15:06 ghost