-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·34 lines (28 loc) · 1.09 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
import configobj
info = configobj.ConfigObj('PackageInfo.cfg')
setup(name = info['PACKAGE'],
version = "%(MAJOR)s.%(MINOR)s.%(MICRO)s%(TAG)s" % info,
author = info['AUTHOR'],
author_email = info['EMAIL'],
url = info['URL'],
description = info['DESCRIPTION'],
license = info['LICENSE'],
long_description = open('README.rst').read(),
packages = find_packages(),
package_data = {'':[os.path.join('*', '*.yml'),
os.path.join('*', '*.zip')]},
include_package_data=True,
install_requires = ['distribute', 'pyyaml',
'OrderedDict', 'configobj'],
# test_suite = info['PACKAGE'] + '.tests.test_suite',
classifiers = [
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7', ],
entry_points = {
'console_scripts' : [
'phyles-pack-skeleton = phyles._phyles:_pack_skeleton',
'phyles-quickstart = phyles._phyles:_quickstart']}
)