-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (38 loc) · 1.21 KB
/
setup.py
File metadata and controls
45 lines (38 loc) · 1.21 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
44
45
from setuptools import setup, find_packages
from codecs import open
from os import path
import sys
here = path.abspath(path.dirname(__file__))
# Python version-independent
install_requires = ['python-dateutil']
if sys.version_info < (3,4):
install_requires = ['enum34']
# http://stackoverflow.com/a/26737672/877069
#try:
# import pypandoc
# long_description = pypandoc.convert('README.md', 'rst')
#except(IOError, ImportError):
long_description = open('README.txt').read()
setup(
name='python-date-interval-generator',
version='0.0.2',
description='Generates common sequential date intervals for a given date range',
long_description=long_description,
author='@nutso',
author_email='nutsoapps@gmail.com',
url='https://github.com/nutso/python-date-interval-generator',
# TODO license
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
],
keywords='date interval dateutil',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=install_requires,
extras_require={
'dev': [],
'test': [],
},
test_suite="tests",
)