-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
48 lines (40 loc) · 1.37 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
from setuptools import setup, find_packages
try:
from pypandoc import convert
def read_md(f): return convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
def read_md(f): return open(f, 'r').read()
###############################################################################
NAME = 'rpi_metar'
PACKAGES = find_packages()
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
]
###############################################################################
setup(
name=NAME,
version='0.4.2',
packages=PACKAGES,
include_package_data=True,
description='Visualizing METAR data on a Raspberry Pi with LEDs.',
keywords=['METAR', 'Raspberry Pi'],
author='Scott Sturdivant',
author_email='[email protected]',
license='MIT',
classifiers=CLASSIFIERS,
url='https://github.com/ScottSturdivant/rpi_metar',
long_description=read_md('README.md'),
long_description_content_type='text/markdown',
install_requires=open('requirements.txt', 'r').read(),
entry_points={
'console_scripts': [
'rpi_metar = rpi_metar.core:main',
'rpi_metar_init = rpi_metar.scripts.init:main',
],
},
python_requires='>=3',
zip_safe=False,
)