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 # ok to install using pip3 as long as it is not with the rest of Libre-SOC. # https://git.libre-soc.org/?p=nmigen.git
19 # can be obtained with pip3, best done manually
20 # https://git.libre-soc.org/?p=nmutil.git
26 # best to install pia from Libre-SOC:
27 # https://git.libre-soc.org/?p=power-instruction-analyzer.git
28 'power-instruction-analyzer'
32 name
='libresoc-openpower-isa',
34 description
="OpenPOWER ISA resources including a python-based simulator",
35 long_description
=README
+ '\n\n',
36 long_description_content_type
='text/markdown',
38 "Topic :: Software Development",
39 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
40 "Programming Language :: Python :: 3",
41 "Operating System :: OS Independent",
43 keywords
='nmigen libre-soc openpower simulator',
44 author
='Luke Kenneth Casson Leighton',
45 author_email
='lkcl@libre-soc.org',
46 url
='http://git.libre-soc.org/?p=openpower-isa.git',
48 packages
=find_packages('src'),
49 package_dir
={'': 'src'},
50 include_package_data
=True,
52 install_requires
=install_requires
,
53 tests_require
=test_requires
,
54 test_suite
='nose.collector',
57 'pywriter=openpower.decoder.pseudo.pywriter:pywriter',
58 'sv_analysis=openpower.sv:sv_analysis'