Last active
December 20, 2015 14:19
-
-
Save aguil/6145609 to your computer and use it in GitHub Desktop.
Sample inspired by https://caremad.io/blog/setup-vs-requirements/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --index-url http://pypi.someserver.com/ | |
| --extra-index-url http://pypi.python.org/ | |
| # development and ci requirements (not for deployment) | |
| flake8 | |
| nose | |
| rednose | |
| mock | |
| coverage | |
| # The development version of a deployment requirement can be listed here. | |
| # Listing it here, before the local package install, satisfies that | |
| # dependency. | |
| # For example, | |
| # some other project that isn't in the index, yet: | |
| git+git://github.com/aguil/fixt.git#egg=fixt | |
| # and maybe you're hitching your wagon to a branch that's still in development: | |
| git+git://github.com/aguil/foo.git@bar#egg=foo | |
| # The local package install (setup.py). Dependencies listed earlier in this | |
| # file will have been satisfied and so will be skipped by the local package | |
| # setup. | |
| -e . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from setuptools import setup, find_packages | |
| setup(name='sample', | |
| version='0.0.1', | |
| description='sample description', | |
| install_requires=['fixt', 'foo'], | |
| author='someauthor', | |
| author_email='dev@someserver.com', | |
| url='https://github.com/aguil/sample', | |
| packages=find_packages()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment