From 553d7c5669744ed4f858dd3c28fb590586c5cf2c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 14 Nov 2015 17:31:14 +0100 Subject: [PATCH] update setup.py --- litescope-version.txt | 2 -- setup.py | 30 ++++++++++++++---------------- 2 files changed, 14 insertions(+), 18 deletions(-) delete mode 100644 litescope-version.txt diff --git a/litescope-version.txt b/litescope-version.txt deleted file mode 100644 index eba3340..0000000 --- a/litescope-version.txt +++ /dev/null @@ -1,2 +0,0 @@ -0.9.0 - diff --git a/setup.py b/setup.py index 7fd7b60..1f80731 100644 --- a/setup.py +++ b/setup.py @@ -1,37 +1,35 @@ #!/usr/bin/env python3 -import sys, os +import sys from setuptools import setup from setuptools import find_packages -here = os.path.abspath(os.path.dirname(__file__)) -README = open(os.path.join(here, "README")).read() -required_version = (3, 3) -if sys.version_info < required_version: - raise SystemExit("LiteScope requires python {0} or greater".format( - ".".join(map(str, required_version)))) +if sys.version_info[:3] < (3, 3): + raise SystemExit("You need Python 3.3+") + setup( - name="litescope", - version="unknown", + name="litescope", + version="1.0", description="small footprint and configurable embedded FPGA logic analyzer core", - long_description=README, + 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", - packages=find_packages(here), - license="GPL", - platforms=["Any"], - keywords="HDL ASIC FPGA hardware design", + 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 :: GNU General Public License (GPL)", + "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", - ], + ], + packages=find_packages(), + include_package_data=True, )