Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

new:requirements.txt + freeze yapsy version

  • Loading branch information...
commit 39f647371eaf3ca44fb431cacaf4bc9106e7463e 1 parent 0a36208
titi authored
Showing with 20 additions and 10 deletions.
  1. +1 −0  MANIFEST.in
  2. +12 −10 pavement.py
  3. +7 −0 requirements.txt
1  MANIFEST.in
View
@@ -3,6 +3,7 @@ include LICENSE*
include pavement.py
include paver-minilib.zip
include TODO*
+include requirements.txt
include CHANGES*
include README*
include setup.py
22 pavement.py
View
@@ -13,6 +13,7 @@
from paved.util import *
from paved.docs import *
from paved.pycheck import *
+ from paved.pkg import *
from sphinxcontrib import paverutils
ALL_TASKS_LOADED = True
except ImportError, e:
@@ -47,15 +48,7 @@ def read_project_version(py=None, where='.', exclude=['bootstrap', 'pavement', '
"Programming Language :: Python",
]
-install_requires = [
- # -*- Install requires: -*-
- 'setuptools',
- 'yapsy',
- 'path.py',
- 'PIL',
- 'EasyProcess',
- 'entrypoint2',
- ]
+install_requires = open("requirements.txt").read().split('\n')
# compatible with distutils of python 2.3+ or later
setup(
@@ -101,9 +94,17 @@ def read_project_version(py=None, where='.', exclude=['bootstrap', 'pavement', '
options.paved.dist.manifest.include.remove('distribute_setup.py')
options.paved.dist.manifest.recursive_include.add('pyscreenshot *.conf')
+ options.paved.dist.manifest.include.add('requirements.txt')
@task
- @needs('sloccount', 'html', 'pdf', 'sdist', 'nose')
+ @needs(
+ 'clean',
+ 'sloccount',
+ 'html',
+ 'pdf',
+ 'sdist',
+ 'nose',
+ )
def alltest():
'all tasks to check'
pass
@@ -120,3 +121,4 @@ def pdf():
d=path('docs/_build/html')
d.makedirs()
fpdf.copy(d)
+
7 requirements.txt
View
@@ -0,0 +1,7 @@
+setuptools
+yapsy==1.8
+path.py
+PIL
+EasyProcess
+entrypoint2
+
Please sign in to comment.
Something went wrong with that request. Please try again.