-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
31 lines (28 loc) · 956 Bytes
/
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
try:
from setuptools import setup
installer = 'setuptools'
except ImportError:
from distutils.core import setup
installer = 'distutils'
options = dict(
name = 'surlex',
version = '0.2.0',
description = 'Simple URL expression translator: alternative to regular expressions for URL pattern matching and data extraction.',
url = 'http://github.com/codysoyland/surlex/tree/master',
packages = ['surlex'],
package_dir = {'surlex': 'src/surlex'},
scripts = ['scripts/surlex2regex.py'],
author = 'Cody Soyland',
author_email = 'codysoyland@gmail.com',
license = 'BSD',
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
]
)
if installer == 'setuptools':
options['test_suite'] = 'tests'
setup(**options)