From 1afec7920a136d6212d6f231669f31e3a0bcce04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alice=20Zo=C3=AB=20Bevan=E2=80=93McGregor?= Date: Tue, 29 Nov 2022 15:36:53 -0500 Subject: [PATCH] Simplification and minor correction. --- setup.py | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/setup.py b/setup.py index 607384e..8324aee 100755 --- a/setup.py +++ b/setup.py @@ -1,17 +1,10 @@ -#!/usr/bin/env python -# encoding: utf-8 - -from __future__ import print_function +#!/usr/bin/env python3 import os import sys import codecs - -try: - from setuptools.core import setup, find_packages -except ImportError: - from setuptools import setup, find_packages +from setuptools import setup if sys.version_info < (2, 7): @@ -52,15 +45,10 @@ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.2", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python", @@ -71,7 +59,7 @@ "Topic :: Utilities", ], - packages = find_packages(exclude=['bench', 'docs', 'example', 'test', 'htmlcov']), + packages = ['cinje'], include_package_data = True, package_data = {'': ['README.rst', 'LICENSE.txt']}, namespace_packages = [], @@ -104,6 +92,7 @@ tests_require = tests_require, extras_require = { 'development': tests_require + ['pre-commit'], # Development requirements are the testing requirements. - 'safe': ['webob'], # String safety. + 'safe': ['markupsafe'], # String safety. }, ) +