-
Notifications
You must be signed in to change notification settings - Fork 519
/
setup.py
35 lines (30 loc) · 1.16 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
from setuptools import setup
import os
PROJECT_ROOT, _ = os.path.split(__file__)
VERSION = REVISION = '0.1.9'
PROJECT_NAME = 'JenkinsAPI'
PROJECT_AUTHORS = "Salim Fadhley, Ramon van Alteren, Ruslan Lutsenko"
PROJECT_URL = "https://github.com/salimfadhley/jenkinsapi"
SHORT_DESCRIPTION = 'A Python API for accessing resources on a Jenkins continuous-integration server.'
try:
DESCRIPTION = open(os.path.join(PROJECT_ROOT, "README.rst")).read()
except IOError, _:
DESCRIPTION = SHORT_DESCRIPTION
GLOBAL_ENTRY_POINTS = {
"console_scripts": ["jenkins_invoke=jenkinsapi.command_line.jenkins_invoke:main"]
}
# Actual setup
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=["jenkinsapi", 'jenkinsapi.utils', 'jenkinsapi.command_line'],
zip_safe=True,
include_package_data=False,
install_requires=['beautifulsoup4', 'lxml'],
entry_points=GLOBAL_ENTRY_POINTS,
url=PROJECT_URL,
description=SHORT_DESCRIPTION,
long_description=DESCRIPTION,
)