From 47819e803b4df26b50a5fbbb96be3d382c10945a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 7 Apr 2020 11:58:21 +0200 Subject: [PATCH] setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. - Deprecate Python 3.5, switch to Python 3.6+. - Remove which was not used or updated. We'll see to get this back when working on releases. --- setup.py | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/setup.py b/setup.py index 47c10d2..e45b20e 100755 --- a/setup.py +++ b/setup.py @@ -1,36 +1,19 @@ #!/usr/bin/env python3 -import sys from setuptools import setup from setuptools import find_packages -if sys.version_info[:3] < (3, 5): - raise SystemExit("You need Python 3.5+") - - setup( name="litescope", - version="0.2.dev", description="Small footprint and configurable embedded FPGA logic analyzer core", - long_description=open("README").read(), author="Florent Kermarrec", author_email="florent@enjoy-digital.fr", url="http://enjoy-digital.fr", download_url="https://github.com/enjoy-digital/litescope", test_suite="test", license="BSD", - platforms=["Any"], - keywords="HDL ASIC FPGA hardware design", - classifiers=[ - "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", - "Environment :: Console", - "Development Status :: Alpha", - "Intended Audience :: Developers", - "License :: OSI Approved :: BSD License", - "Operating System :: OS Independent", - "Programming Language :: Python", - ], + python_requires="~=3.6", packages=find_packages(exclude=("test*", "sim*", "doc*", "examples*")), include_package_data=True, )