Thank you for getting adventurous

Below you will find a random blog post out of the creatronix space. Have fun while reading and learning something new!

pip optional dependencies

Sometimes you want to make your python package usable for different situations, e.g. flask or bottle or django. If You want to minimize dependencies You can use an optional dependency in setup.py: extras_require={ ‘flask’: [‘Flask>=0.8’, ‘blinker>=1.1’] } Now you can install the library with: pip install raven[flask]  

Read more

More posts

See the latest blogposts about code and business and everything inbetween.