Import to export
[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
14 with open(os.path.join(cur_dir, 'README.md'), encoding='utf-8') as readme_file:
15 readme = readme_file.read()
16
17 setup(
18 name='munter.py',
19 version=version,
20 description=(
21 'An easy-to-use implementation of the Munter time calculation'
22 ),
23 long_description=readme,
24 long_description_content_type='text/plain',
25 author='Alexander Vasarab',
26 author_email='alexander@wylark.com',
27 url='https://wylark.com/munter',
28 packages=['munter'],
29 package_dir={'munter': 'munter'},
30 entry_points={'console_scripts': ['munter = munter.munter:main']},
31 include_package_data=True,
32 python_requires='>=3.6',
33 license='ISC',
34 classifiers=[
35 "Development Status :: 5 - Production/Stable",
36 "Environment :: Console",
37 "Intended Audience :: Other Audience",
38 "Intended Audience :: Developers",
39 "Natural Language :: English",
40 "License :: OSI Approved :: ISC License (ISCL)",
41 "Programming Language :: Python :: 3 :: Only",
42 "Programming Language :: Python :: 3",
43 "Programming Language :: Python :: 3.6",
44 "Programming Language :: Python :: 3.7",
45 "Programming Language :: Python :: 3.8",
46 "Programming Language :: Python",
47 "Topic :: Software Development",
48 "Topic :: Software Development :: Libraries :: Python Modules",
49 ],
50 keywords=[
51 "munter",
52 "tour planning",
53 "trip planning",
54 "time estimate",
55 ],
56 )