From 70985f19b275b079d33149d43b7272893fdb6d75 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 23 Jan 2017 17:59:01 -0800 Subject: [PATCH] Drop requirement for setuptools package from setup.py setuptools is shipped with Python, no need to include it as a requirement. Further, it is not used by the icalendar package, but only by setup.py. setuptools is imported by setup.py _before_ dependencies have been installed. --- CHANGES.rst | 3 ++- README.rst | 5 ++--- setup.py | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 9b82786..1fd9f88 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,7 +6,8 @@ Changelog Breaking changes: -- *add item here* +- Removed ``setuptools`` as a dependency as it was only required by setup.py + and not by the package. New features: diff --git a/README.rst b/README.rst index 6fc08ae..b0531d5 100644 --- a/README.rst +++ b/README.rst @@ -10,7 +10,7 @@ with Python. :Homepage: http://icalendar.readthedocs.org :Code: http://github.com/collective/icalendar :Mailing list: http://github.com/collective/icalendar/issues - :Dependencies: `setuptools`_ and since version 3.0 we depend on `pytz`_. + :Dependencies: `python-dateutil`_ and `pytz`_. :Compatible with: Python 2.6, 2.7 and 3.3+ :License: `BSD`_ @@ -72,8 +72,8 @@ a suggestion to icalendar-dev@codespeak.net to take over maintaining of .. _`icalendar`: http://pypi.python.org/pypi/icalendar .. _`plone.app.event`: http://github.com/plone/plone.app.event .. _`Plone`: http://plone.org +.. _`python-dateutil`: https://github.com/dateutil/dateutil/ .. _`pytz`: http://pypi.python.org/pypi/pytz -.. _`setuptools`: http://pypi.python.org/pypi/setuptools .. _`RFC`: http://www.ietf.org/rfc/rfc5545.txt .. _`BSD`: https://github.com/collective/icalendar/issues/2 @@ -96,4 +96,3 @@ Output from coverage test:: src/icalendar/tools 16 0 100% -------------------------------------------------- TOTAL 1152 81 93% - diff --git a/setup.py b/setup.py index 4efc264..9ea69cb 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,6 @@ tests_require = [] install_requires = [ 'python-dateutil', 'pytz', - 'setuptools', ] if sys.version_info[:2] == (2, 6):