From a7604013956de9733b39c21a42f4f570a3cfb37c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 7 May 2019 06:44:13 +0100 Subject: [PATCH] add Makefile, setup.py, blank README and NEWS --- Makefile | 9 +++++++++ NEWS.txt | 0 README.md | 0 setup.py | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 Makefile create mode 100644 NEWS.txt create mode 100644 README.md create mode 100644 setup.py diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..185a0d22 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +gitupdate: + git submodule init + git submodule update --recursive + +install: + python3 setup.py develop # yes, develop, not install + +test: + python3 setup.py test # could just run nosetest3... diff --git a/NEWS.txt b/NEWS.txt new file mode 100644 index 00000000..e69de29b diff --git a/README.md b/README.md new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..8f83c591 --- /dev/null +++ b/setup.py @@ -0,0 +1,41 @@ +from setuptools import setup, find_packages +import sys, os + +here = os.path.abspath(os.path.dirname(__file__)) +README = open(os.path.join(here, 'README.md')).read() +NEWS = open(os.path.join(here, 'NEWS.txt')).read() + + +version = '0.0.1' + +install_requires = [ + 'sfpy', +] + +test_requires = [ + 'nose', +] + +setup( + name='ieee754fpu', + version=version, + description="A nmigen IEEE754 Floating-Point library", + long_description=README + '\n\n' + NEWS, + classifiers=[ + "Topic :: Software Development :: Libraries", + "License :: OSI Approved :: LGPLv3+", + "Programming Language :: Python :: 3", + ], + keywords='nmigen ieee754', + author='Luke Kenneth Casson Leighton', + author_email='lkcl@libre-riscv.org', + url='http://git.libre-riscv.org/?p=ieee754fpu', + license='GPLv3+', + packages=find_packages('src'), + package_dir = {'': 'src'}, + include_package_data=True, + zip_safe=False, + install_requires=install_requires, + tests_require=test_requires, + test_suite='nose.collector', +) -- 2.30.2