forked from scrapinghub/dateparser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (38 loc) · 1.26 KB
/
setup.py
File metadata and controls
43 lines (38 loc) · 1.26 KB
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
import re
from setuptools import setup
(__version__, ) = re.findall("__version__.*\s*=\s*[']([^']+)[']",
open('dateparser/__init__.py').read())
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
test_requirements = open('tests/requirements.txt').read().splitlines()
setup(
name='dateparser',
version=__version__,
description='Date parsing library designed to parse dates from HTML pages',
long_description=readme + '\n\n' + history,
author='Scrapinghub',
author_email='info@scrapinghub.com',
url='https://github.com/scrapinghub/dateparser',
packages=[
'dateparser',
],
package_dir={'dateparser':
'dateparser'},
include_package_data=True,
install_requires=[
'python-dateutil >= 2.2',
],
license="BSD",
zip_safe=False,
keywords='dateparser',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
test_suite='nose.collector',
tests_require=test_requirements
)