forked from machinalis/refo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (46 loc) · 1.51 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
#!/usr/bin/env python
import sys
kwargs = {}
if sys.version_info[0] >= 3:
from setuptools import setup
assert setup
# kwargs['use_2to3'] = True
# kwargs['src_root'] = setup_python3()
else:
try:
from setuptools import setup
kwargs['test_suite'] = "nose.collector"
assert setup
except ImportError:
from distutils.core import setup
config = dict(
name="REfO",
version="0.14",
description="Regular expressions for objects",
long_description=open('README.txt').read(),
author="Rafael Carrascosa",
author_email="[email protected]",
url="https://github.com/machinalis/refo",
keywords=["regular expressions", "regexp", "re", "objects", "classes"],
classifiers=[
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing",
"Topic :: Utilities",
],
packages=["refo"],
**kwargs
)
setup(**config)