Skip to content
This repository was archived by the owner on Oct 23, 2020. It is now read-only.

Commit 6843429

Browse files
committed
add tox.ini
1 parent 05105b7 commit 6843429

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ recursive-include catsup/templates *.*
22
recursive-include catsup/themes *.*
33
include README.rst
44
include LICENSE
5+
include requirements.txt

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Jinja2==2.6
2+
Pygments==1.6
3+
catsup==0.0.6
4+
misaka==1.0.2
5+
parguments==0.2.1
6+
tornado==2.4.1
7+
wsgiref==0.1.2

setup.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,7 @@
2323
entry_points={
2424
'console_scripts': ['catsup= catsup.cli:main'],
2525
},
26-
install_requires=[
27-
'tornado',
28-
'misaka',
29-
'pygments',
30-
'jinja2',
31-
'parguments==0.2.1'
32-
],
26+
install_requires=open("requirements.txt").readlines(),
3327
include_package_data=True,
3428
license='MIT License',
3529
classifiers=[
@@ -42,8 +36,9 @@
4236
'Programming Language :: Python',
4337
'Programming Language :: Python :: 2.6',
4438
'Programming Language :: Python :: 2.7',
45-
# 'Programming Language :: Python :: 3.1',
39+
'Programming Language :: Python :: 3.1',
4640
'Programming Language :: Python :: 3.2',
41+
'Programming Language :: Python :: 3.3',
4742
],
4843
**kwargs
4944
)

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[tox]
2+
envlist = py26, py27, py31, py32, py33
3+
[testenv]
4+
commands =
5+
python setup.py install
6+
catsup --help

0 commit comments

Comments
 (0)