-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (36 loc) · 1.25 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
import os
from codecs import open
from setuptools import setup, find_packages
from dating import VERSION
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
try:
import pypandoc
long_description = pypandoc.convert(os.path.join(here, 'README.md'), 'rst')
except (ImportError, IOError):
pass
setup(
name='dating',
version=VERSION,
description='Library for handling date ranges and time periods in a business context (based on Arrow)',
long_description=long_description,
url='https://github.com/a115/python-dating',
author='Jordan Dimov',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
keywords='datetime date range ISO8601 arrow',
packages=['dating',],
install_requires=[
'arrow>=0.10.0',
],
python_requires='>=3'
)