coriolis/pyproject.toml

59 lines
1.4 KiB
TOML
Raw Normal View History

2022-11-24 09:53:12 -06:00
[tool.poetry]
name = "Coriolis"
2023-01-09 10:43:48 -06:00
version = "0.0.0"
2022-11-24 09:53:12 -06:00
description = "Place and Route for semiconductors"
authors = ["Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>"]
2023-01-09 07:37:08 -06:00
readme = "README.rst"
2022-12-13 21:24:07 -06:00
build = "builder.py"
packages = [
{ include = "Coriolis"}
]
2022-11-24 09:53:12 -06:00
2023-01-09 10:43:48 -06:00
[tool.poetry-dynamic-versioning]
enable = true
dirty = true
vcs = "git"
style = "pep440"
2023-01-09 11:43:31 -06:00
metadata = "true"
pattern = '''
(?x)
^coriolis-((?P<epoch>\d+)!)?(?P<base>\d+(\.\d+)*)
([-._]?((?P<stage>[a-zA-Z]+)[-._]?(?P<revision>\d+)?))?
(\+(?P<tagged_metadata>.+))?$
'''
2023-01-09 10:43:48 -06:00
2022-11-24 09:53:12 -06:00
[tool.poetry.dependencies]
2022-12-13 21:24:07 -06:00
python = "^3.8"
find-libpython = "^0.3.0"
2022-11-24 09:53:12 -06:00
[tool.poetry.dev-dependencies]
cmake = ">=3"
2022-12-22 04:57:53 -06:00
ninja = "^1.11.1"
2022-11-24 09:53:12 -06:00
2022-12-01 19:04:37 -06:00
[tool.poetry.scripts]
2022-12-05 19:50:49 -06:00
blif2vst = 'Coriolis:blif2vst'
2022-12-01 19:04:37 -06:00
tutorial = 'Coriolis:tutorial'
unittests = 'Coriolis:unittests'
yosys_coriolis = 'Coriolis:yosys_coriolis'
2022-11-24 09:53:12 -06:00
[build-system]
2023-01-09 10:43:48 -06:00
requires = ["poetry-core", "setuptools", "cmake", "ninja", "patchelf", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
2022-11-24 09:53:12 -06:00
[tool.cibuildwheel.linux]
2022-12-13 21:24:07 -06:00
skip = ["cp36-*", "cp37-*", "pp*"]
build-frontend = "build"
2022-12-09 09:51:19 -06:00
before-all = '''
2022-12-22 08:33:54 -06:00
yum -y install epel-release
yum repolist
2022-12-09 09:51:19 -06:00
yum install -y \
qt5-qtbase-devel qt5-qtsvg-devel \
rapidjson-devel bison flex doxygen bzip2-devel flex-devel \
boost-devel \
boost-python boost-filesystem \
boost-regex boost-wave \
python36-devel libxml2-devel \
2022-12-09 09:51:19 -06:00
qwt-devel
'''
2022-12-13 21:24:07 -06:00
build-verbosity=2