Throw exception if two CSR have the same name
[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.3",
28 ],
29 entry_points={
30 "console_scripts": [
31 "flterm=lambdasoc.tools.flterm:main [SFL]",
32 ]
33 },
34 extras_require={
35 "SFL": ["asyncserial"]
36 },
37 packages=find_packages(),
38 include_package_data=True,
39 project_urls={
40 "Source Code": "https://github.com/lambdaconcept/lambdasoc",
41 "Bug Tracker": "https://github.com/lambdaconcept/lambdasoc/issues",
42 },
43 )