-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
64 lines (53 loc) · 2.22 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
52
53
54
55
56
57
58
59
60
61
62
import os
from setuptools import setup, find_packages
readme = open('README.rst', 'rt').read()
import sys
versionstr = '0.5.0'
if os.path.exists('./requirements.txt'):
with open('./requirements.txt', 'r') as reqs:
__requirements__ = [x.strip() for x in reqs.readlines() if not x.startswith('--')]
else:
raise Exception("Missing requirements.txt in top level of package!")
setup(
name='WeatherAlerts',
version=versionstr,
author='Zeb Palmer',
author_email='[email protected]',
packages=['weatheralerts'],
package_dir={
'weatheralerts': "weatheralerts"},
#scripts=[ "scripts/NagiosWeatherAlerts.py",
#"scripts/MonitorAlertsByCounty.py",
#"scripts/NWS_Alerts.py"}
url='http://github.com/zebpalmer/WeatherAlerts',
license='MIT',
description='Parse the National Weather Service Emergency Alerts Feed (NWS CAP format), do useful stuff with it',
long_description=readme,
install_requires=__requirements__,
use_2to3=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Plugins',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
)