From: Luke Kenneth Casson Leighton Date: Fri, 23 Apr 2021 11:43:53 +0000 (+0100) Subject: add news, README, and setup.py X-Git-Tag: 0.0.1~57 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1560f6ddf2c91addcb5d49ce9a2d11afa568fff2;p=openpower-isa.git add news, README, and setup.py --- 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..d7a5b7ad --- /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', +)