Skip to content

Commit

Permalink
Shifting to full toml config.
Browse files Browse the repository at this point in the history
  • Loading branch information
haz committed Dec 25, 2024
1 parent 304c100 commit 4884bf2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 64 deletions.
37 changes: 37 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,23 @@ build-backend = "setuptools.build_meta"

[project]
name = "macq"
version = "0.3.10"
description = "Action model acquisition from state trace data."
# author="Ethan Callanan, Rebecca De Venezia, Victoria Armstrong, Alison Parades, Tathagata Chakraborti, Christian Muise",
authors = [
{name = "Ethan Callanan"},
{name = "Rebecca De Venezia"},
{name = "Victoria Armstrong"},
{name = "Alison Parades"},
{name = "Tathagata Chakraborti"},
{name = "Christian Muise", email = "[email protected]"},
]
maintainers = [
{name = "Christian Muise", email = "[email protected]"}
]
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["planning", "action model acquisition"]
requires-python = ">=3.8"
classifiers = [
"Intended Audience :: Science/Research",
Expand All @@ -21,6 +36,28 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"tarski",
"requests",
"rich",
"nnf",
"python-sat",
"bauhaus",
"numpy",
"clingo",
"graphviz",
"networkx",
"pydot",
]

[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"flake8",
"black",
"pre-commit",
]

[project.urls]
Homepage = "https://macq.planning.domains"
Expand Down
66 changes: 2 additions & 64 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,67 +1,5 @@
from setuptools import setup, find_packages

VERSION = "0.3.10"
from setuptools import setup

NAME = "macq"

DESCRIPTION = "Action model acquisition from state trace data."

DEPENDENCIES = [
"tarski",
"requests",
"rich",
"nnf",
"python-sat",
"bauhaus",
"numpy",
"clingo",
"graphviz",
"networkx",
"pydot",
]

DEV_DEPENDENCIES = [
"pytest",
"pytest-cov",
"flake8",
"black",
"pre-commit",
]

CLASSIFIERS = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

with open("LICENSE", "r", encoding="utf-8") as f:
LICENSE = f.read()

with open("README.md", "r", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()

setup(
name=NAME,
version=VERSION,
author="Ethan Callanan, Rebecca De Venezia, Victoria Armstrong, Alison Parades, Tathagata Chakraborti, Christian Muise",
author_email="[email protected]",
license="MIT",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
keywords="planning model acquisition trace",
url="https://github.com/ai-planning/macq",
classifiers=CLASSIFIERS,
python_requires=">=3.9",
install_requires=DEPENDENCIES,
extras_require={"dev": DEV_DEPENDENCIES},
)
setup()

0 comments on commit 4884bf2

Please sign in to comment.