-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·32 lines (30 loc) · 971 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
#!/usr/bin/python
from distutils.core import setup
import sys
import re
verpat = re.compile("VERSION *= *\"(.*)\"")
data = open("ptr").read()
m = verpat.search(data)
if not m:
sys.exit("error: can't find VERSION")
VERSION = m.group(1)
setup(name="patcher",
version = VERSION,
description = "Tool for quick creation of patches against a source tree",
author = "Gustavo Niemeyer",
author_email = "[email protected]",
maintainer = "Johnny A Solbu",
maintainer_email = "[email protected]",
url = "https://github.com/solbu/patcher",
license = "GPL",
long_description =
"""\
Patcher is a tool for quick creation of patches against a project
source tree. Patcher functionality resembles a lightweight
version control system. It has no repository, and only controls
differences between a pristine version and a working copy.
""",
packages = ["patcher",
"patcher.commands"],
scripts = ["ptr"]
)