File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
(next version)
4
4
5
+ ### Version 0.1.10 (2017-08-15)
6
+
7
+ * Include CHANGES and test files in source distribution
8
+
5
9
### Version 0.1.9 (2017-08-12)
6
10
7
11
* Print help when input_file is not specified on command-line
Original file line number Diff line number Diff line change 1
1
include README.md
2
2
include LICENSE
3
+ include CHANGES.md
4
+
5
+ recursive-include tests *.py test.md test.rst
6
+ recursive-exclude * __pycache__
7
+ recursive-exclude * *.py[co]
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
3
4
+ import sys
4
5
from os import path
5
6
6
7
try :
17
18
readme = f .read ()
18
19
19
20
install_requires = ['mistune' , 'docutils' ]
21
+ test_requirements = ['pygments' ]
22
+ if sys .version_info < (3 , 3 ):
23
+ test_requirements .append ('mock' )
20
24
21
25
setup (
22
26
name = 'm2r' ,
27
31
28
32
url = 'https://github.com/miyakogi/m2r' ,
29
33
py_modules = ['m2r' ],
30
- packages = ['tests' ],
31
34
entry_points = {'console_scripts' : 'm2r = m2r:main' },
32
35
include_package_data = True ,
33
36
license = "MIT" ,
48
51
'Topic :: Text Processing' ,
49
52
],
50
53
install_requires = install_requires ,
54
+ test_suite = 'tests' ,
55
+ tests_require = test_requirements ,
56
+
51
57
)
You can’t perform that action at this time.
0 commit comments