add news, README, and setup.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 11:43:53 +0000 (12:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 11:43:53 +0000 (12:43 +0100)
NEWS.txt [new file with mode: 0644]
README.md [new file with mode: 0644]
setup.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/README.md b/README.md
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..d7a5b7a
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,50 @@
+from setuptools import setup, find_packages
+import sys
+import 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'
+
+# using pip3 for ongoing development is a royal pain.  seriously not
+# recommended.  therefore a number of these dependencies have been
+# commented out.  *they are still required* - they will need installing
+# manually.
+
+install_requires = [
+    'nmigen', 
+]
+
+test_requires = [
+    'nose',
+    # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer
+    'power-instruction-analyzer'
+]
+
+setup(
+    name='libresoc-openpower',
+    version=version,
+    description="OpenPOWER ISA resources including a python-based simulator",
+    long_description=README + '\n\n' + NEWS,
+    classifiers=[
+        "Topic :: Software Development",
+        "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
+        "Programming Language :: Python :: 3",
+        "Operating System :: OS Independent",
+    ],
+    keywords='nmigen libre-soc openpower simulator',
+    author='Luke Kenneth Casson Leighton',
+    author_email='lkcl@libre-soc.org',
+    url='http://git.libre-soc.org/?p=openpower-isa.git',
+    license='LGPLv3+',
+    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',
+)