forked from opencollab/debile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·66 lines (58 loc) · 1.77 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
61
62
63
64
65
66
from debile import __version__
from setuptools import setup
"""
Dear world:
I'd like to say I'm sorry to anyone reading this. The amount of
scotch I had on hand wasn't enough to let me finish the debian
packaging hack I was working through (was working fine until I hit
some nonsense). As a result, this file will suffer.
Trust me, this is much better than what I had before.
-- PRT
"""
flavors = {
"setup.py": ("debile", [
'debile', 'debile.utils'
], {
'console_scripts': [
'aget = debile.utils.aget:main',
'bget = debile.utils.bget:main',
'debile-remote = debile.utils.cli:main',
],
}), # Default config
"setup.slave.py": ("debile.slave", [
'debile.slave',
'debile.slave.commands',
'debile.slave.runners',
'debile.slave.wrappers',
], {
'console_scripts': [
'debile-slave = debile.slave.cli:daemon',
],
}), # Slave config
"setup.master.py": ("debile.master", [
'debile.master'
], {
'console_scripts': [
'debile-master-init = debile.master.cli:init',
'debile-incoming = debile.master.cli:process_incoming',
'debile-import = debile.master.cli:import_db',
'debile-master = debile.master.cli:serve',
],
}), # Master config
}
appname, packages, scripts = flavors[__file__]
long_description = ""
setup(
name=appname,
version=__version__,
scripts=[],
packages=packages,
author="Paul Tagliamonte",
author_email="[email protected]",
long_description=long_description,
description='FOO BAR BAZ BAR FOO',
license="Expat",
url="http://debile.debian.net/",
platforms=['any'],
entry_points=scripts,
)