Skip to content
Snippets Groups Projects
pyproject.toml 1.83 KiB
Newer Older
  • Learn to ignore specific revisions
  • [project]
    name = "b-asic"
    description = "Better ASIC Toolbox"
    readme = "README.md"
    maintainers = [
        { name = "Oscar Gustafsson", email = "oscar.gustafsson@gmail.com" },
    ]
    license = { file = "LICENSE" }
    
    requires-python = ">=3.8"
    
    dependencies = [
        "numpy",
        "qtpy",
    
    Oscar Gustafsson's avatar
    Oscar Gustafsson committed
        "graphviz>=0.19",
    
        "matplotlib",
    
        "setuptools_scm[toml]>=6.2",
    
    ]
    classifiers = [
    
    Oscar Gustafsson's avatar
    Oscar Gustafsson committed
        "Intended Audience :: Education",
    
        "Intended Audience :: Science/Research",
        "Programming Language :: Python :: 3",
    
    Oscar Gustafsson's avatar
    Oscar Gustafsson committed
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
    
        "Programming Language :: Python :: 3.11",
    
    Oscar Gustafsson's avatar
    Oscar Gustafsson committed
        "Programming Language :: C++",
    
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    
    Oscar Gustafsson's avatar
    Oscar Gustafsson committed
        "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
        "Development Status :: 3 - Alpha",
    
    ]
    dynamic = ["version", "authors"]
    
    [tool.setuptools]
    zip-safe = false
    
    [tool.setuptools.packages.find]
    include = ["b_asic*"]
    
    [build-system]
    
    requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel", "oldest-supported-numpy"]
    
    build-backend = "setuptools.build_meta"
    
    [tool.setuptools_scm]
    write_to = "b_asic/_version.py"
    version_scheme = "release-branch-semver"
    local_scheme = "node-and-date"
    fallback_version = "0.0+UNKNOWN"
    
    [project.urls]
    homepage = "https://gitlab.liu.se/da/B-ASIC"
    
    documentation = "https://da.gitlab-pages.liu.se/B-ASIC/"
    
    
    [tool.black]
    skip-string-normalization = true
    preview = true
    line-length = 79
    
    exclude = [
    
        "test/test_gui", "b_asic/scheduler_gui/ui_main_window.py"
    
    ]
    
    [tool.isort]
    profile = "black"
    line_length = 79
    src_paths = ["b_asic", "test"]
    skip = [
    
        "test/test_gui", "b_asic/scheduler_gui/ui_main_window.py"
    
    
    
    [tool.mypy]
    packages = ["b_asic", "test"]
    no_site_packages = true
    ignore_missing_imports = true