forked from thatguystone/approxidate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (20 loc) · 652 Bytes
/
setup.py
File metadata and controls
23 lines (20 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from distutils.core import setup
from distutils.extension import Extension
with open('README') as f:
long_description = f.read()
try:
from Cython.Build import cythonize
ext = cythonize([Extension("approxidate", ["approxidate.pyx", "_approxidate.c"])])
except:
ext = [Extension("approxidate", ["approxidate.c", "_approxidate.c"])]
setup(
name='approxidate',
version='1.0.3',
url='https://github.com/thatguystone/approxidate',
author='Andrew Stone',
author_email='a@stoney.io',
license='GPL v2',
description='a quick way to get a unix timestamp from a ton of arbitrary date formats',
long_description=long_description,
ext_modules=ext,
)