From: Luke Kenneth Casson Leighton Date: Mon, 12 Apr 2021 00:03:16 +0000 (+0100) Subject: update for upload to pypi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce11134e052322c164595fcc1138a454aa80eeb1;p=ieee754fpu.git update for upload to pypi --- diff --git a/Makefile b/Makefile index c32d0657..5ddf6b68 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ PYTHON3 ?= "python3" + gitupdate: git submodule init git submodule update --recursive @@ -8,3 +9,6 @@ install: test: $(PYTHON3) setup.py test # could just run nosetest3... + +pypiupload: + $(PYTHON3) setup.py sdist upload diff --git a/README.md b/README.md index ad2c7c94..318d6b43 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,13 @@ This project implements a pipelined IEEE754 floating-point ALU that supports FP16, FP32 and FP64. It is a general-purpose unit that may be used in any project (not limited to one specific processor). +Developed under a Grant from NLnet (http://nlnet.nl), more information +may be found at http://libre-soc.org + # Requirements * nmigen +* libresoc-nmutil * yosys (latest git repository, required by nmigen) * sfpy (running unit tests). provides python bindings to berkeley softfloat-3 @@ -23,8 +27,6 @@ submodule: cd /path/to/sfpy/berkeley-softfloat-3 git apply /path/to/ieee754fpu/berkeley-softfloat.patch - - The following modifications are required to the sfpy SoftPosit Makefile: cd /path/to/sfpy/SoftPosit diff --git a/setup.py b/setup.py index 4693b5f7..c0e1524c 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ NEWS = open(os.path.join(here, 'NEWS.txt')).read() version = '0.0.1' install_requires = [ - 'nmutil', + 'libresoc-nmutil', # 'sfpy', # XXX temporarily disabled 'bigfloat' ] @@ -19,13 +19,13 @@ test_requires = [ ] setup( - name='ieee754fpu', + name='libresoc-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+", + "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)" "Programming Language :: Python :: 3", ], keywords='nmigen ieee754',