1 from setuptools
import setup
, find_packages
5 here
= os
.path
.abspath(os
.path
.dirname(__file__
))
6 README
= open(os
.path
.join(here
, 'README.md')).read()
7 NEWS
= open(os
.path
.join(here
, 'NEWS.txt')).read()
11 # using pip3 for ongoing development is a royal pain. seriously not
12 # recommended. therefore a number of these dependencies have been
13 # commented out. *they are still required* - they will need installing
17 # 'sfpy', # needs manual patching
18 'libresoc-ieee754fpu', # uploaded (successfully, whew) to pip
19 'libresoc-openpower-isa', # uploaded (successfully, whew) to pip
20 # 'nmigen-soc', # install manually from git.libre-soc.org
21 # git url needed for having `pip3 install -e .` install from libre-soc's git repo
22 "cached-property@git+https://git.libre-soc.org/git/cached-property.git@1.5.2#egg=cached-property-1.5.2",
25 # git url needed for having `setup.py develop` install from libre-soc's git repo
27 "git+https://git.libre-soc.org/git/cached-property.git@1.5.2#egg=cached-property-1.5.2",
32 # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer
33 'power-instruction-analyzer'
39 description
="A nmigen-based OpenPOWER multi-issue Hybrid 3D CPU-VPU-GPU",
40 long_description
=README
+ '\n\n' + NEWS
,
41 long_description_content_type
='text/markdown',
43 "Topic :: Software Development",
44 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
45 "Programming Language :: Python :: 3",
46 "Operating System :: OS Independent",
48 keywords
='nmigen ieee754 libre-soc soc',
49 author
='Luke Kenneth Casson Leighton',
50 author_email
='lkcl@libre-soc.org',
51 url
='http://git.libre-soc.org/?p=soc',
53 packages
=find_packages('src'),
54 package_dir
={'': 'src'},
55 include_package_data
=True,
57 install_requires
=install_requires
,
58 dependency_links
=dependency_links
,
59 tests_require
=test_requires
,
60 test_suite
='nose.collector',