switch cached-property dependency to using libre-soc's git repo
[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 # 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",
23 ]
24
25 # git url needed for having `setup.py develop` install from libre-soc's git repo
26 dependency_links = [
27 "git+https://git.libre-soc.org/git/cached-property.git@1.5.2#egg=cached-property-1.5.2",
28 ]
29
30 test_requires = [
31 'nose',
32 # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer
33 'power-instruction-analyzer'
34 ]
35
36 setup(
37 name='libresoc',
38 version=version,
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',
42 classifiers=[
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",
47 ],
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',
52 license='LGPLv3+',
53 packages=find_packages('src'),
54 package_dir={'': 'src'},
55 include_package_data=True,
56 zip_safe=False,
57 install_requires=install_requires,
58 dependency_links=dependency_links,
59 tests_require=test_requires,
60 test_suite='nose.collector',
61 )