forked from jgehrcke/python-cmdline-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (24 loc) · 782 Bytes
/
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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('bootstrap/bootstrap.py').read(),
re.M
).group(1)
with open("README.rst", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name = "cmdline-bootstrap",
packages = ["bootstrap"],
entry_points = {
"console_scripts": ['bootstrap = bootstrap.bootstrap:main']
},
version = version,
description = "Python command line application bare bones template.",
long_description = long_descr,
author = "Jan-Philip Gehrcke",
author_email = "[email protected]",
url = "http://gehrcke.de/2014/02/distributing-a-python-command-line-application",
)