[Pkg-privacy-commits] [txtorcon] 25/49: tie dev requirements to file

Ximin Luo infinity0 at debian.org
Mon Oct 19 13:49:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository txtorcon.

commit 87da5046241d1dfd658ea910655b154e46267fdc
Author: meejah <meejah at meejah.ca>
Date:   Fri Jun 19 16:50:11 2015 -0600

    tie dev requirements to file
---
 dev-requirements.txt | 1 -
 setup.py             | 7 +------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/dev-requirements.txt b/dev-requirements.txt
index 35c6811..4fb2635 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -8,6 +8,5 @@ twine
 pyflakes
 pep8
 mock
-# these are optional for users, but for testing we need them
 ipaddr
 GeoIP
diff --git a/setup.py b/setup.py
index e113f83..b85df9c 100644
--- a/setup.py
+++ b/setup.py
@@ -26,12 +26,7 @@ setup(name = 'txtorcon',
       install_requires = open('requirements.txt').readlines(),
       # "pip install -e .[dev]" will install development requirements
       extras_require=dict(
-          dev=[
-              'mock',
-              'GeoIP',
-              'coverage',
-              'pep8',
-          ],
+          dev=open('dev-requirements.txt').readlines(),
       ),
       classifiers = ['Framework :: Twisted',
                      'Development Status :: 4 - Beta',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/txtorcon.git



More information about the Pkg-privacy-commits mailing list