/
setup.py
54 lines (45 loc) · 1.4 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
from jiver import __version__
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
dependencies = ['docopt', 'termcolor']
def publish():
os.system("python setup.py sdist upload")
if sys.argv[-1] == "publish":
publish()
sys.exit()
setup(
name='jiver',
version=".".join(str(x) for x in __version__),
description='Collection of utilities for a Jive PS engineer',
long_description=open('README.rst').read(),
url='http://www.github.com/digitaldarwin/jiver',
license="MIT License",
author='Michael Masters',
author_email='mmasters+jiver@gmail.com',
install_requires=dependencies,
packages=['jiver', ],
entry_points={
'console_scripts': [
'jiver=jiver.main:start'
],
},
data_files=[
# use homebrew's completion directory
('/usr/local/etc/bash_completion.d', ['extra/jiver-completion.sh']),
('/usr/local/jiver', ['extra/upgrade-analyzer.jar']),
('/usr/local/jiver', ['extra/git-checkout.txt']),
],
classifiers=(
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)