Skip to content

Commit d3e0bbc

Browse files
duttonwZharktas
authored andcommitted
migrate from setup.py to requirements.txt
1 parent f198e79 commit d3e0bbc

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

requirements.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
celery==3.1.25
22
kombu==3.0.37
33
progressbar==2.3
4-
future
4+
future
5+
SQLAlchemy>=0.6.6
6+
requests>=1.1.0
7+
8+
-e git+https://github.com/ckan/[email protected]#egg=ckanext-report

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
6161

6262
install_requires=[
63-
'SQLAlchemy>=0.6.6',
64-
'requests>=1.1.0',
65-
'progressbar',
66-
'ckanext-report'
63+
# CKAN extensions should not list dependencies here, but in a separate
64+
# ``requirements.txt`` file.
65+
#
66+
# http://docs.ckan.org/en/latest/extensions/best-practices.html#add-third-party-libraries-to-requirements-txt
6767
],
6868

6969
# If there are data files included in your packages that need to be

0 commit comments

Comments
 (0)