Skip to content

Commit 1022dcd

Browse files
committed
fix: update all projects to toml.
1 parent 9ae4025 commit 1022dcd

File tree

6 files changed

+36
-45
lines changed

6 files changed

+36
-45
lines changed
47.2 KB
Binary file not shown.

dist/flamapy_bdd-2.1.0.dev2.tar.gz

34.9 KB
Binary file not shown.

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
[build-system]
2+
requires = ["setuptools>=61"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "flamapy-bdd"
7+
version = "2.1.0.dev2"
8+
description = "bdd-plugin for the automated analysis of feature models"
9+
readme = "README.md"
10+
license = "GPL-3.0-or-later"
11+
authors = [{ name = "Flamapy", email = "flamapy@us.es" }]
12+
requires-python = ">=3.9"
13+
dependencies = [
14+
"flamapy-fw~=2.1.0.dev1",
15+
"flamapy-fm~=2.1.0.dev1",
16+
"dd~=0.6.0",
17+
"graphviz~=0.20",
18+
]
19+
20+
[project.optional-dependencies]
21+
dev = [
22+
"pytest",
23+
"pytest-mock",
24+
"prospector",
25+
"mypy",
26+
"coverage",
27+
]
28+
29+
[project.urls]
30+
Homepage = "https://github.com/flamapy/bdd_metamodel"
31+
32+
[tool.setuptools.packages.find]
33+
include = ["flamapy.*"]
34+
135
[tool.ruff]
236
line-length = 100 # Matches max-line-length from pycodestyle
337
target-version = "py39"

requirements-dev.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

setup.py

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
1-
import setuptools
1+
from setuptools import setup
22

3-
4-
with open("README.md", "r") as fh:
5-
long_description = fh.read()
6-
7-
8-
def read_requirements(file):
9-
with open(file, "r") as fh:
10-
return fh.read().splitlines()
11-
12-
13-
# Read requirements from the requirements.txt file
14-
requirements = read_requirements("requirements.txt")
15-
16-
# Read development requirements from the dev-requirements.txt file
17-
dev_requirements = read_requirements("requirements-dev.txt")
18-
19-
setuptools.setup(
20-
name="flamapy-bdd",
21-
version="2.1.0.dev2",
22-
author="Flamapy",
23-
author_email="flamapy@us.es",
24-
description="bdd-plugin for the automated analysis of feature models",
25-
long_description=long_description,
26-
long_description_content_type="text/markdown",
27-
url="https://github.com/flamapy/bdd_metamodel",
28-
packages=setuptools.find_namespace_packages(include=["flamapy.*"]),
29-
classifiers=[
30-
"Programming Language :: Python :: 3",
31-
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
32-
"Operating System :: OS Independent",
33-
],
34-
python_requires=">=3.9",
35-
install_requires=requirements,
36-
extras_require={"dev": dev_requirements},
37-
)
3+
setup()

0 commit comments

Comments
 (0)