Skip to content

Commit 99952f4

Browse files
committed
Externalized requirements
1 parent bf42477 commit 99952f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
M2Crypto>=0.21.1

Diff for: setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from distutils.core import setup
22

33
version = __import__('passbook').__version__
4+
install_requires = open('requirements.txt').readlines(),
45

56
setup(
67
name='Passbook',
@@ -15,9 +16,7 @@
1516

1617
download_url='http://pypi.python.org/packages/source/P/Passbook/Passbook-%s.tar.gz' % version,
1718

18-
install_requires=[
19-
"M2Crypto >= 0.21.1",
20-
],
19+
install_requires=install_requires,
2120

2221
classifiers = [
2322
'Development Status :: 3 - Alpha',

0 commit comments

Comments
 (0)