-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
48 lines (43 loc) · 1.29 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
from setuptools import setup, find_packages
import os
import codecs
here = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open
return codecs.open(os.path.join(here, *parts), 'r').read()
setup(
name='Serv',
version="0.0.3",
url='https://github.com/nir0s/serv',
author='nir0s',
author_email='nir36g@gmail.com',
license='LICENSE',
platforms='All',
description='Init systems abstraction API and CLI.',
long_description=read('README.rst'),
packages=find_packages(exclude=[]),
package_data={
'serv': [
'init/templates/systemd_default.env.j2',
'init/templates/systemd_default.service.j2',
'init/templates/upstart_1.5.conf.j2',
'init/templates/upstart_default.conf.j2',
'init/templates/sysv_default.j2',
'init/templates/sysv_default.default.j2',
'init/templates/sysv_lsb-3.1.j2',
'init/templates/supervisor_default.conf.j2',
'init/binaries/nssm.exe'
]
},
entry_points={
'console_scripts': [
'serv = serv.serv:main',
]
},
install_requires=[
"click==6.2",
"ld==0.1.2",
"sh==1.11",
"jinja2==2.8"
],
)