-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (24 loc) · 675 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (24 loc) · 675 Bytes
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
import os
import sys
from setuptools import setup, find_packages
setup_dir = os.path.dirname(os.path.abspath(__file__))
version = None
try:
sys.path.insert(0, setup_dir)
from rexparse import get_version
version = get_version(os.path.join(setup_dir, 'rexparse', '_version.py'))
except Exception, e:
pass
finally:
sys.path.pop(0)
setup(name='rexparse',
author='Greg Banks',
author_email='quaid@kuatowares.com',
version=version,
entry_points={
'distutils.setup_keywords':
'rexparse = rexparse:rexparse'
},
tests_require=['nose'],
test_suite='nose.collector',
packages=['rexparse'])