setup.py,requirements.txt: add LiteX dependencies.
[lambdasoc.git] / setup.py
1 from setuptools import setup, find_packages
2
3
4 def scm_version():
5 def local_scheme(version):
6 if version.tag and not version.distance:
7 return version.format_with("")
8 else:
9 return version.format_choice("+{node}", "+{node}.dirty")
10 return {
11 "relative_to": __file__,
12 "version_scheme": "guess-next-dev",
13 "local_scheme": local_scheme
14 }
15
16
17 setup(
18 name="lambdasoc",
19 use_scm_version=scm_version(),
20 author="Jean-François Nguyen",
21 author_email="jf@lambdaconcept.com",
22 description="A framework for building SoCs with nMigen",
23 #long_description="""TODO""",
24 license="BSD",
25 setup_requires=["setuptools_scm"],
26 install_requires=[
27 "nmigen>=0.1,<0.5",
28 "nmigen-soc",
29 "nmigen-stdio",
30 "nmigen-boards",
31 "minerva",
32
33 "migen",
34 "litex",
35 "litedram",
36 ],
37 entry_points={
38 "console_scripts": [
39 "flterm=lambdasoc.tools.flterm:main [SFL]",
40 ]
41 },
42 extras_require={
43 "SFL": ["asyncserial"]
44 },
45 packages=find_packages(),
46 zip_safe=False, # install package as a directory. needed to build the SoC firmware.
47 include_package_data=True,
48 project_urls={
49 "Source Code": "https://github.com/lambdaconcept/lambdasoc",
50 "Bug Tracker": "https://github.com/lambdaconcept/lambdasoc/issues",
51 },
52 )