2014-01-07 16:04:15 +00:00
|
|
|
import codecs
|
2011-08-24 21:18:36 +00:00
|
|
|
import setuptools
|
2013-12-24 12:25:46 +00:00
|
|
|
import sys
|
2005-04-04 16:47:58 +00:00
|
|
|
|
2014-01-06 15:22:38 +00:00
|
|
|
|
2014-04-05 17:34:39 +00:00
|
|
|
version = '3.6.3.dev0'
|
2012-08-23 12:30:02 +00:00
|
|
|
shortdesc = 'iCalendar parser/generator'
|
2014-01-07 16:04:15 +00:00
|
|
|
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()
|
2013-12-24 12:06:03 +00:00
|
|
|
|
2014-01-06 15:22:38 +00:00
|
|
|
|
2013-12-24 12:25:46 +00:00
|
|
|
tests_require = []
|
|
|
|
if sys.version_info[:2] == (2, 6):
|
|
|
|
# Python unittest2 only needed for Python 2.6
|
|
|
|
tests_require = ['unittest2']
|
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,
|
2012-08-23 12:30:02 +00:00
|
|
|
description=shortdesc,
|
|
|
|
long_description=longdesc,
|
2011-08-17 19:36:01 +00:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Intended Audience :: Developers',
|
2013-12-24 12:25:46 +00:00
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 2.6",
|
|
|
|
"Programming Language :: Python :: 2.7",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.3",
|
2012-02-27 09:22:43 +00:00
|
|
|
'License :: OSI Approved :: BSD License',
|
2011-08-17 19:36:01 +00:00
|
|
|
'Operating System :: OS Independent',
|
|
|
|
],
|
2012-01-08 14:47:04 +00:00
|
|
|
keywords='calendar calendaring ical icalendar event todo journal '
|
|
|
|
'recurring',
|
2012-11-23 12:49:07 +00:00
|
|
|
author='Plone Foundation',
|
2013-12-24 12:06:03 +00:00
|
|
|
author_email='plone-developers@lists.sourceforge.net',
|
2011-08-30 07:40:55 +00:00
|
|
|
url='https://github.com/collective/icalendar',
|
2012-02-27 09:22:43 +00:00
|
|
|
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,
|
2012-08-23 12:30:02 +00:00
|
|
|
install_requires=[
|
|
|
|
'setuptools',
|
2013-02-20 17:01:21 +00:00
|
|
|
'python-dateutil',
|
2014-05-29 16:46:09 +00:00
|
|
|
'pytz==2014.2',
|
2012-08-23 12:30:02 +00:00
|
|
|
],
|
2011-08-17 19:36:01 +00:00
|
|
|
extras_require={
|
2012-08-23 12:30:02 +00:00
|
|
|
'test': tests_require
|
2013-12-24 12:25:46 +00:00
|
|
|
}
|
|
|
|
)
|