Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Support Python's setup.py #549

Open
presidentbeef opened this issue Aug 23, 2016 · 0 comments
Open

Request: Support Python's setup.py #549

presidentbeef opened this issue Aug 23, 2016 · 0 comments

Comments

@presidentbeef
Copy link

setup.py appears to be the current standard and is more popular than requirements.txt. However, it is also harder to deal with since it is just code and people do odd things in code. Some applications have both requirements.txt and setup.py where setup.py just reads in requirements from requirements.txt.

setup.py will include a call to setup() with the install_requires keyword:

setup(
      # other metadata here...
      install_requires=[ ... ],
)

The requirements appear to have a similar syntax to requirements.txt.

Examples:

It's also weirdly common to put the requirements in a variable first:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants