Skip to content

Commit c822375

Browse files
committed
support for VERSION.txt and depracation of older python versions
1 parent 47dc783 commit c822375

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

setup.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
here = path.abspath(path.dirname(__file__))
1414

1515
# Get the long description from the README file
16-
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
16+
with open(path.join(here, 'README.txt'), encoding='utf-8') as f:
1717
long_description = f.read()
1818

19-
version = '1.4.7'
19+
with open('VERSION.md', 'r') as f:
20+
version = f.read()
2021

2122
setup(
2223
name='python-datemath',
@@ -57,13 +58,9 @@
5758

5859
# Specify the Python versions you support here. In particular, ensure
5960
# that you indicate whether you support Python 2, Python 3 or both.
60-
'Programming Language :: Python :: 2.6',
6161
'Programming Language :: Python :: 2.7',
62-
'Programming Language :: Python :: 3',
63-
'Programming Language :: Python :: 3.2',
64-
'Programming Language :: Python :: 3.3',
65-
'Programming Language :: Python :: 3.4',
6662
'Programming Language :: Python :: 3.5',
63+
'Programming Language :: Python :: 3.7'
6764
],
6865

6966
# What does your project relate to?

0 commit comments

Comments
 (0)