-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (25 loc) · 725 Bytes
/
setup.py
File metadata and controls
30 lines (25 loc) · 725 Bytes
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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('dash/cli.py').read(),
re.M
).group(1)
with open("readme.md", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name = "dash-cli",
packages = ["dash-cli"],
entry_points = {
"console_scripts": ['dash-cli = dash.cli:main']
},
version = version,
description = "Python command line interface to CWP's Dash API.",
long_description = long_descr,
author = "Craig Pearson",
author_email = "thepearson@gmail.com",
url = "https://github.com/thepearson/cwp-cli",
python_requires='>=2.7',
)