add setup.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 May 2019 12:44:19 +0000 (13:44 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 May 2019 12:44:19 +0000 (13:44 +0100)
NEWS.txt [new file with mode: 0644]
setup.py [new file with mode: 0644]
src/ieee754/__init__.py [new file with mode: 0644]

diff --git a/NEWS.txt b/NEWS.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..8f83c59
--- /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',
+)
diff --git a/src/ieee754/__init__.py b/src/ieee754/__init__.py
new file mode 100644 (file)
index 0000000..e69de29