Skip to content

Commit

Permalink
updated setup
Browse files Browse the repository at this point in the history
  • Loading branch information
roedoejet committed Oct 4, 2019
1 parent 488e173 commit 3c66cd1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mtd/version.py
@@ -1 +1 @@
__version__ = "0.14.20190916"
__version__ = "0.14.20191003"
14 changes: 12 additions & 2 deletions setup.py
Expand Up @@ -6,17 +6,27 @@
build_no = dt.datetime.today().strftime('%Y%m%d')
version_path = os.path.join(os.path.dirname(mtd.__file__), 'version.py')
VERSION = mtd.VERSION + "." + build_no
this_directory = os.path.abspath(os.path.dirname(__file__))

with open(version_path, 'w') as f:
f.write(f'__version__ = "{VERSION}"')

with open('requirements.txt') as f:
with open(os.path.join(this_directory, 'requirements.txt')) as f:
REQS = f.read().splitlines()

with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
author="Aidan Pine",
author_email="info@mothertongues.org",
name='mothertongues',
version=VERSION,
long_description='Mother Tongues',
license="AGPL-3.0",
url="https://github.com/roedoejet/mothertongues",
description='Mother Tongues Dictionaries dictionary creation tool',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit 3c66cd1

Please sign in to comment.