-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·36 lines (32 loc) · 1.38 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
#!/usr/bin/env python
from distutils.core import setup, Extension
import sys
if sys.version < '2.2.3':
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
DistributionMetadata.download_url = None
parsetime = Extension('parsetime',
define_macros=[('PYTHON_MODULE', None)],
sources=['parsetimemodule.c', 'parsetime.c'])
setup(name='python-parsetime',
version='2.0.7',
author='Jimmy Ngo',
author_email='[email protected]',
url='https://github.com/jimmyngo/python-parsetime',
download_url='https://github.com/jimmyngo/python-parsetime',
description='Parse for at time strings.',
long_description='''Parsetime is a parser for string in the at
time format. It is a light Python wrapper around modified version
of parsetime from FreeBSD.
''',
license='Apache License 2.0',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: C',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules', ],
ext_modules=[parsetime],
)