Skip to content

Instantly share code, notes, and snippets.

@aguil
Last active December 20, 2015 14:19
Show Gist options
  • Select an option

  • Save aguil/6145609 to your computer and use it in GitHub Desktop.

Select an option

Save aguil/6145609 to your computer and use it in GitHub Desktop.
--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 .
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