X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=setup.py;h=14cd4c6e9508c1a6b18bd5ace84897b9c9db6bb1;hb=1bcb90676398c8fa0c309c3c7ed3c9ef306c577e;hp=6d688f761b1a3e5a40ddbc8ded09a5d609d02e98;hpb=811091ec657161bb44cb0f46f31edad96f45fc27;p=soc.git diff --git a/setup.py b/setup.py index 6d688f76..14cd4c6e 100644 --- a/setup.py +++ b/setup.py @@ -1,38 +1,50 @@ from setuptools import setup, find_packages -import sys, os +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 = [ - 'sfpy', + # 'sfpy', # needs manual patching + 'libresoc-ieee754fpu', # uploaded (successfully, whew) to pip + 'libresoc-openpower-isa', # uploaded (successfully, whew) to pip + # 'nmigen-soc', # install manually from git.libre-soc.org ] test_requires = [ 'nose', + # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer + 'power-instruction-analyzer' ] setup( - name='soc', + name='libresoc', version=version, - description="A nmigen-based RISC-V Hybrid CPU / VPU / GPU", + description="A nmigen-based OpenPOWER multi-issue Hybrid 3D CPU-VPU-GPU", long_description=README + '\n\n' + NEWS, + long_description_content_type='text/markdown', classifiers=[ - "Topic :: Software Development :: Libraries", - "License :: OSI Approved :: LGPLv3+", + "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 ieee754 libre-riscv soc', + keywords='nmigen ieee754 libre-soc soc', author='Luke Kenneth Casson Leighton', - author_email='lkcl@libre-riscv.org', - url='http://git.libre-riscv.org/?p=soc', - license='GPLv3+', + author_email='lkcl@libre-soc.org', + url='http://git.libre-soc.org/?p=soc', + license='LGPLv3+', packages=find_packages('src'), - package_dir = {'': 'src'}, + package_dir={'': 'src'}, include_package_data=True, zip_safe=False, install_requires=install_requires,