origami-lib
origami-lib copied to clipboard
Add develop and production mode in setup.py to origami-lib
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 ?
@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.
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
Okay.. Can you explore a bit more how others package dependencies for development purposes and see mention other examples?
Yeah, will do.