forked from OldhamMade/PySO8601
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (17 loc) · 715 Bytes
/
setup.py
File metadata and controls
23 lines (17 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from setuptools import setup, find_packages
import os, sys
version_file = 'PySO8601/__version__.py'
exec(compile(open(version_file).read(), version_file, 'exec'))
desc_file = os.path.join(os.path.dirname(__file__), 'README.rst')
long_description = ''
if os.path.isfile(desc_file):
long_description = open(desc_file).read()
setup(name="PySO8601",
description="PySO8601 aims to parse any ISO 8601 date, including Week dates, Ordinal dates, intervals and durations.",
long_description=long_description,
url="http://unpluggd.github.com/PySO8601",
version=__version__,
author=__author__,
author_email=__author_email__,
packages=find_packages(exclude="specs"),
)