-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (38 loc) · 1.13 KB
/
setup.py
File metadata and controls
43 lines (38 loc) · 1.13 KB
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
#!/usr/bin/python
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
requires = ['requests']
if sys.platform == 'darwin':
extra_options = dict(
setup_requires=['py2app'],
app=[mainscript],
# Cross-platform applications generally expect sys.argv to
# be used for opening files.
options=dict(py2app=dict(argv_emulation=True)),
)
setup(
name='Kroll',
version='0.3.46',
description='CLI weather application',
long_description=README,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English'],
author='Erwin Hager',
author_email='errieman@gmail.com',
url='https://github.com/errieman/weather.py',
keywords='weather cli forecast',
packages=['kroll'],
include_package_data=True,
zip_safe=False,
entry_points="""
[console_scripts]
weather = kroll.kroll:main
forecast = kroll.kroll:main
""",
install_requires=requires)