-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
55 lines (53 loc) · 1.32 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
import os,sys
from distutils.core import setup
#from setuptools import setup
sys.path.insert(0, os.path.abspath('lib'))
from library import __version__, __author__
#print (__version__)
readme = open('README.md').read()
changes = open('CHANGES.txt').read()
#version_file = 'oscm.py'
#version = re.findall("__version__ = '(.*)'", open(version_file).read())[0]
#try:
# version = __import__('utile').git_version(version)
#except ImportError:
# pass
setup(
name='oscm',
version=__version__,
description="Collection of useful functions and classes",
long_description=readme + '\n\n' + changes,
keywords='oscm',
author=__author__,
author_email='[email protected]',
url='http://netkiller.github.io',
license='BSD',
#py_modules=[
# 'library.rsync',
# 'library.whiptail'
#],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.3',
],
package_dir={ '': 'library' },
packages=[
''
],
scripts=[
'bin/deployment',
'bin/backup',
'bin/mysqlshell'
],
data_files = [
('etc', ['etc/deployment.cfg']),
('etc', ['etc/task.cfg']),
('etc', ['etc/schedule.cfg']),
('log', ['log/deployment.log'])
]
)