Merge branch 'release-2.3.0'
[munter.git] / setup.py
1 #!/usr/bin/env python
2 """munter.py distutils configuration."""
3 import os
4 import re
5 from setuptools import setup
6
7 CUR_DIR = os.path.dirname(__file__)
8 VERSION = re.search(
9 "^__version__\\s*=\\s*'(.*)'",
10 open(os.path.join(CUR_DIR, 'munter/__init__.py')).read(),
11 re.M
12 ).group(1)
13 README = ""
14
15 with open(os.path.join(CUR_DIR, 'README.md'), encoding='utf-8') as readme_file:
16 README = readme_file.read()
17
18 setup(
19 name='munter.py',
20 version=VERSION,
21 description=(
22 'An easy-to-use implementation of the Munter time calculation'
23 ),
24 long_description=README,
25 long_description_content_type='text/markdown',
26 author='Alexander Vasarab',
27 author_email='alexander@wylark.com',
28 url='https://wylark.com/munter',
29 project_urls={
30 'Source Code': 'https://wylark.com/git/munter.git'
31 },
32 packages=['munter'],
33 package_dir={'munter': 'munter'},
34 entry_points={'console_scripts': ['munter = munter.munter:main']},
35 include_package_data=True,
36 python_requires='>=3.6',
37 license='ISC',
38 classifiers=[
39 "Development Status :: 5 - Production/Stable",
40 "Environment :: Console",
41 "Intended Audience :: Other Audience",
42 "Intended Audience :: Developers",
43 "Natural Language :: English",
44 "License :: OSI Approved :: ISC License (ISCL)",
45 "Programming Language :: Python :: 3 :: Only",
46 "Programming Language :: Python :: 3",
47 "Programming Language :: Python :: 3.6",
48 "Programming Language :: Python :: 3.7",
49 "Programming Language :: Python :: 3.8",
50 "Programming Language :: Python",
51 "Topic :: Software Development",
52 "Topic :: Software Development :: Libraries :: Python Modules",
53 ],
54 keywords=[
55 "munter",
56 "tour planning",
57 "trip planning",
58 "time estimate",
59 ],
60 )