add discussion links and bugreport
[soc.git] / setup.py
1 from setuptools import setup, find_packages
2 import sys
3 import os
4
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()
8
9 version = '0.0.1'
10
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
14 # manually.
15
16 install_requires = [
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 ]
22
23 test_requires = [
24 'nose',
25 # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer
26 'power-instruction-analyzer'
27 ]
28
29 setup(
30 name='libresoc',
31 version=version,
32 description="A nmigen-based OpenPOWER multi-issue Hybrid 3D CPU-VPU-GPU",
33 long_description=README + '\n\n' + NEWS,
34 long_description_content_type='text/markdown',
35 classifiers=[
36 "Topic :: Software Development",
37 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
38 "Programming Language :: Python :: 3",
39 "Operating System :: OS Independent",
40 ],
41 keywords='nmigen ieee754 libre-soc soc',
42 author='Luke Kenneth Casson Leighton',
43 author_email='lkcl@libre-soc.org',
44 url='http://git.libre-soc.org/?p=soc',
45 license='LGPLv3+',
46 packages=find_packages('src'),
47 package_dir={'': 'src'},
48 include_package_data=True,
49 zip_safe=False,
50 install_requires=install_requires,
51 tests_require=test_requires,
52 test_suite='nose.collector',
53 )