-
Notifications
You must be signed in to change notification settings - Fork 86
/
setup.py
24 lines (21 loc) · 863 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
#!/usr/bin/env python
import distutils.core, os, re
version_number_re = "\s*__version__\s*=\s*((\"([^\"]|\\\\\")*\"|'([^']|\\\\')*'))"
version_file = os.path.join(os.path.dirname(__file__), 'sunburnt', '__init__.py')
version_number = re.search(version_number_re, open(version_file).read()).groups()[0][1:-1]
distutils.core.setup(
name='sunburnt',
version=version_number,
description='Python interface to Solr',
author='Toby White',
author_email='toby@timetric.com',
packages=['sunburnt'],
requires=['lxml', 'pytz'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Software Development :: Libraries'],
)