Skip to content

Commit 9552fbd

Browse files
committed
v1.5.0
1 parent edbb05c commit 9552fbd

File tree

5 files changed

+21
-3
lines changed

5 files changed

+21
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
### 1.5.0 (2019-11-09)
4+
5+
* [FIX] [Issue #12](https://github.com/nickmaccarthy/python-datemath/issues/12) - missing VERSION.txt. Added MANIFEST.in for sdist build
6+
* [FIX] [PR #13](https://github.com/nickmaccarthy/python-datemath/pull/13) - Fix `BaseException` to `Exception` inheritence, thank you for your contribution @yury-primer!
7+
38
## 1.4.9 (2019-10-26)
49

510
* [FIX] [Issue #9](https://github.com/nickmaccarthy/python-datemath/issues/9) && [Issue #8](https://github.com/nickmaccarthy/python-datemath/issues/8) - Fixing deprecated arrow `replace()` function with `shift()`.

MANIFEST.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include VERSION.txt
2+
include README.md
3+
include CHANGELOG.md
4+
include LICENSE
5+
include requirements-2.txt
6+
include requirements-3.txt

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.9
1+
1.5.0

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ rm -rf dist
1313

1414
echo "Building for python 2.7..."
1515
python2.7 setup.py sdist bdist_wheel
16+
echo "\n\n\n"
1617
echo "Building for python 3.7+..."
1718
python3.7 setup.py sdist bdist_wheel
19+
echo "\n\n\n"
1820

1921
echo "Running twine upload..."
2022
twine upload dist/*

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
# Get the long description from the README file
1616
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
1717
long_description = f.read()
18+
long_description_content_type = "text/markdown"
1819

19-
with open('VERSION.txt', 'r') as f:
20-
version = f.read()
20+
with open(path.join(here, 'VERSION.txt'), encoding='utf-8') as fv:
21+
version = fv.read()
2122

2223
setup(
2324
name='python-datemath',
@@ -60,6 +61,7 @@
6061
# that you indicate whether you support Python 2, Python 3 or both.
6162
'Programming Language :: Python :: 2.7',
6263
'Programming Language :: Python :: 3.5',
64+
'Programming Language :: Python :: 3.6',
6365
'Programming Language :: Python :: 3.7'
6466
],
6567

@@ -70,6 +72,9 @@
7072
# simple. Or you can use find_packages().
7173
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
7274

75+
package_data={'': ['*']},
76+
include_package_data=True,
77+
7378
# Alternatively, if you want to distribute just a my_module.py, uncomment
7479
# this:
7580
# py_modules=["my_module"],

0 commit comments

Comments
 (0)