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

Add develop and production mode in setup.py to origami-lib #18

Open
fristonio opened this issue Apr 5, 2018 · 4 comments
Open

Add develop and production mode in setup.py to origami-lib #18

fristonio opened this issue Apr 5, 2018 · 4 comments

Comments

@fristonio
Copy link
Member

As of now in origami there is only one setup and for testing and development puposes user have to manually install certain dependencies. It would be much better if we can give user a develop install for origami-lib which user can use for development and testing puposes.

I'm still digging the best way we can have here but I am thinking something on the lines of https://github.com/owtf/owtf/blob/develop/setup.py

What do you think about this @AvaisP @uttu357 ?

@gupta-utkarsh
Copy link
Member

gupta-utkarsh commented Jun 16, 2018

@fristonio Is this relevant currently?
If it is then we can have a requirements directory which has a common.txt for common dependencies and different dev.txt and prod.txt which includes common.txt and dependencies specific to the environment.

@fristonio
Copy link
Member Author

I am not sure if this is the right way to do it for a python package since we specify the dependencies in setup.py. As of now, I have all the common dependencies inside install-requires in setup.py and dev requirements in requirements-dev.txt.
What I wanted to have was a command to install dev and release requirements like python setup.py install and python setup.py develop

@gupta-utkarsh
Copy link
Member

Okay.. Can you explore a bit more how others package dependencies for development purposes and see mention other examples?

@fristonio
Copy link
Member Author

Yeah, will do.

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

No branches or pull requests

2 participants