forked from M0r13n/pyais
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (47 loc) · 1.39 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import os
import setuptools # type:ignore
with open("README.md", "r") as fh:
long_description = fh.read()
with open(os.path.join('pyais', '__init__.py')) as f:
for line in f:
if line.strip().startswith('__version__'):
VERSION = line.split('=')[1].strip()[1:-1].strip()
break
setuptools.setup(
name="pyais",
version=VERSION,
author="Leon Morten Richter",
author_email="[email protected]",
description="Ais message decoding",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/M0r13n/pyais",
license="MIT",
packages=setuptools.find_packages(),
package_data={
"pyais": ["py.typed"]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Communications",
"Topic :: System :: Networking",
"Typing :: Typed",
],
keywords=["AIS", "ship", "decoding", "nmea"],
python_requires='>=3.6',
install_requires=[
"bitarray",
"attrs"
],
extras_require={
'dev': ['mypy', 'flake8', 'coverage', 'twine', 'sphinx', 'pytest', 'pytest-cov']
},
entry_points={
"console_scripts": [
'ais-decode=pyais.main:main'
]
}
)