icalendar/setup.py

59 wiersze
1.7 KiB
Python
Czysty Zwykły widok Historia

import codecs
2011-08-24 21:18:36 +00:00
import setuptools
import sys
2005-04-04 16:47:58 +00:00
2014-01-06 15:22:38 +00:00
2015-09-08 14:08:23 +00:00
version = '3.9.2.dev0'
shortdesc = 'iCalendar parser/generator'
longdesc = codecs.open('README.rst', encoding='utf-8').read()
longdesc += codecs.open('CHANGES.rst', encoding='utf-8').read()
longdesc += codecs.open('LICENSE.rst', encoding='utf-8').read()
2014-01-06 15:22:38 +00:00
2015-03-24 11:51:03 +00:00
tests_require = []
2014-05-20 14:49:36 +00:00
install_requires = [
2014-12-07 17:36:52 +00:00
'python-dateutil',
'pytz',
2014-05-20 14:49:36 +00:00
'setuptools',
]
if sys.version_info[:2] == (2, 6):
# Python unittest2 only needed for Python 2.6
2014-05-20 14:49:36 +00:00
tests_require.append('unittest2')
# OrderedDict was added in 2.7
install_requires.append('ordereddict')
2005-04-04 16:47:58 +00:00
2014-01-06 15:22:38 +00:00
2011-08-24 21:18:36 +00:00
setuptools.setup(
2011-08-17 19:36:01 +00:00
name='icalendar',
version=version,
description=shortdesc,
long_description=longdesc,
2011-08-17 19:36:01 +00:00
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
2014-12-07 17:42:26 +00:00
"Programming Language :: Python :: 3.4",
'License :: OSI Approved :: BSD License',
2011-08-17 19:36:01 +00:00
'Operating System :: OS Independent',
2014-07-14 09:58:38 +00:00
],
2012-01-08 14:47:04 +00:00
keywords='calendar calendaring ical icalendar event todo journal '
'recurring',
author='Plone Foundation',
author_email='plone-developers@lists.sourceforge.net',
url='https://github.com/collective/icalendar',
license='BSD',
2011-08-24 21:18:36 +00:00
packages=setuptools.find_packages('src'),
2011-08-17 19:36:01 +00:00
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
2014-05-20 14:49:36 +00:00
install_requires=install_requires,
2015-03-24 11:51:03 +00:00
extras_require={
'test': tests_require
}
)