-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (31 loc) · 1.08 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
#!/usr/bin/env python
import os
from setuptools import setup
def readme_or_docstring():
path = os.path.join(os.path.dirname(__file__), 'readme.rst')
if os.path.isfile(path):
return open(path).read()
else:
import date_machine
return date_machine.__doc__
setup(name='date_machine',
version='0.21',
description='The last date parser',
long_description=readme_or_docstring(),
author='Andy Chase',
author_email='[email protected]',
url='https://andychase.me/date_machine',
download_url="https://github.com/andychase/date_machine/archive/master.zip",
license="MIT",
packages=['date_machine'],
install_requires=["reparse", "pyyaml"],
classifiers=(
'Development Status :: 4 - Beta',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing'
),
)