-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·38 lines (33 loc) · 1.28 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
#!/usr/bin/env python
from setuptools import setup
import sys, shutil
try:
import pyme
except Exception as e:
print 'You need to install the python-pyme package'
sys.exit()
setup(
name = "otrs_search",
version = "1.0",
author = "Aubort Jean-Baptiste",
author_email = "[email protected]",
description = ("Command line search script for the OTRS 2.x ticketing system, using https/http resquests in python. Password is encrypted with GnuPG. Support English and French languages"),
long_description = open('README.md').read(),
license = "gpl-3.0.txt",
keywords = "otrs search command line",
url = "https://github.com/jbaubort/otrs-search",
classifiers = [
'Environment :: Console',
'Topic :: Internet :: WWW/HTTP',
'Development Status :: 5 - Production/Stable',
],
py_modules = ['otrs_search'],
scripts = ['otrs_search.py'],
requires = ['pyme', 'BeautifulSoup'],
)
shutil.rmtree('build', ignore_errors=True)
shutil.rmtree('dist', ignore_errors=True)
shutil.rmtree('otrs_search.egg-info', ignore_errors=True)
print
print '\033[1mPlease run ./create_config.py to create configuration files\033[0m'
print