From d92f520fc8eec53d01b37e481f0aa4db93195572 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 3 Aug 2020 13:35:50 +0200 Subject: [PATCH] Update setup.py (based on LUNA) --- setup.py | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 5e4d553..8f7c7eb 100755 --- a/setup.py +++ b/setup.py @@ -5,15 +5,41 @@ from setuptools import find_packages setup( + # Vitals name="gram", - description="DRAM core for LambdaSoC", - author="LambdaConcept", - author_email="contact@lambdaconcept.com", + license="BSD", url="https://lambdaconcept.com", download_url="https://github.com/lambdaconcept/gram", - license="BSD", - python_requires="~=3.6", - install_requires=[], + author="LambdaConcept", + author_email="contact@lambdaconcept.com", + description="DRAM core for LambdaSoC", + use_scm_version= { + "root": '..', + "relative_to": __file__, + "version_scheme": "guess-next-dev", + "local_scheme": lambda version : version.format_choice("+{node}", "+{node}.dirty"), + "fallback_version": "r0.0" + }, + + # Imports / exports / requirements + platforms='any', packages=find_packages(exclude=("test*", "doc*", "examples*", "contrib*", "libgram*")), include_package_data=True, + python_requires="~=3.7", + install_requires=['nmigen', 'nmigen_boards', 'pyvcd'], + setup_requires=['setuptools', 'setuptools_scm'], + entry_points={}, + + # Metadata + classifiers = [ + 'Programming Language :: Python', + 'Development Status :: 1 - Planning', + 'Natural Language :: English', + 'Environment :: Plugins', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Topic :: Scientific/Engineering', + ], ) -- 2.30.2