-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
60 lines (55 loc) · 1.62 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
import os
from setuptools import setup
version = "3.1.dev0"
sample_config = open(os.path.join("checkoutmanager", "sample.cfg")).readlines()
long_description = "\n\n".join(
[
open("README.rst").read(),
"\n".join([" " + line.rstrip() for line in sample_config]),
open("TODO.rst").read(),
open("CREDITS.rst").read(),
open("CHANGES.rst").read(),
]
)
setup(
name="checkoutmanager",
version=version,
description=(
"Gives you overview and control over your " + "git/hg/bzr/svn checkouts/clones."
),
long_description=long_description,
# Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 6 - Mature",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
],
keywords=[],
author="Reinout van Rees",
author_email="[email protected]",
url="http://reinout.vanrees.org",
license="GPL",
packages=["checkoutmanager"],
include_package_data=True,
zip_safe=False,
install_requires=[
"setuptools",
],
extras_require={
"test": [
"pytest",
],
},
entry_points={
"console_scripts": [
"checkoutmanager = checkoutmanager.runner:main",
],
"checkoutmanager.custom_actions": [
"test = checkoutmanager.tests.custom_actions:test_action",
],
},
)