Skip to content

Commit

Permalink
Migrate setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Oct 1, 2024
1 parent 780a311 commit 58ef8ac
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 64 deletions.
61 changes: 60 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"

[project]
name = "fusesoc"
description = "Award-winnning package manager and build abstraction tool for HDL code"
readme = "README.md"
authors = [
{name = "Olof Kindgren", email = "olof@award-winning.me"},
]
maintainers = [
{name = "Olof Kindgren", email = "olof@award-winning.me"},
]

keywords=["VHDL", "verilog", "hdl", "rtl", "synthesis", "FPGA", "simulation", "ASIC"]

classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: BSD License",
]

dynamic = ["version"]

dependencies = [
"edalize>=0.4.1",
"pyparsing>=2.3.1",
"pyyaml>=6.0",
"simplesat>=0.8.0",
"fastjsonschema",
"jsonschema2md",
]
requires-python = ">=3.6, <4"

[project.urls]
Homepage = "https://fusesoc.net"
Documentation = "https://fusesoc.readthedocs.io"
Repository = "https://github.com/olofk/fusesoc"
Issues = "https://github.com/olofk/fusesoc/issues"
Changelog = "https://github.com/olofk/fusesoc/blob/main/NEWS"

[tool.setuptools_scm]
version_file = "fusesoc/version.py"

[tool.setuptools.packages.find]
#where = ["fusesoc/"]
include = ["fusesoc", "fusesoc.capi2", "fusesoc.provider", "fusesoc.parser"]

[project.scripts]
fusesoc = "fusesoc.main:main"

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py3
[testenv]
deps = pytest
commands = pytest
"""
63 changes: 0 additions & 63 deletions setup.py

This file was deleted.

0 comments on commit 58ef8ac

Please sign in to comment.