forked from amaranth-farm/adat-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (28 loc) · 993 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from setuptools import setup, find_packages
def scm_version():
def local_scheme(version):
return version.format_choice("+{node}", "+{node}.dirty")
return {
"relative_to": __file__,
"version_scheme": "guess-next-dev",
"local_scheme": local_scheme,
}
setup(
name="adat",
use_scm_version=scm_version(),
author="Hans Baier",
author_email="hansfbaier@gmail.com",
description="ADAT transmitter and receiver FPGA cores implemented in amaranth HDL",
license="CERN-OHL-W-2.0",
setup_requires=["wheel", "setuptools", "setuptools_scm"],
install_requires=[
"amaranth>=0.2,<=0.4",
"importlib_metadata; python_version<'3.8'",
],
dependency_links=["git+https://github.com/hansfbaier/amaranth-library.git"],
packages=find_packages(),
project_urls={
"Source Code": "https://github.com/hansfbaier/adat-core",
"Bug Tracker": "https://github.com/hansfbaier/adat-core/issues",
},
)