Skip to content

Commit

Permalink
Merge pull request #64 from JSS95/pyproject
Browse files Browse the repository at this point in the history
Migrate to pyproject.toml
  • Loading branch information
JSS95 committed Sep 10, 2023
2 parents 696f6ee + 7f9fd60 commit 2c2dec3
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 102 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: install dependencies
run: |
pip install -r requirements/test.txt
pip install flake8 black
- name: lint with flake8
run: |
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include dawiq/py.typed
58 changes: 58 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[build-system]
requires = ["setuptools", "wheel"]

[project]
name = "dawiq"
description = "Package to construct Qt widgets from dataclasses"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
keywords = ["Dataclass", "GUI"]
authors = [
{name = "Jisoo Song", email = "jeesoo9595@snu.ac.kr"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: User Interfaces",
"Topic :: Software Development :: Widget Sets",
]
dependencies = [
]
dynamic = [
"version",
]

[project.urls]
repository = "https://github.com/JSS95/dawiq"

[project.optional-dependencies]
test = [
"cattrs",
"mypy",
"pytest",
"pytest-qt",
]
test-ci = [
"dawiq[test]",
"pytest-xvfb",
]
doc = [
"numpydoc",
"sphinx < 5.2",
"sphinx_code_tabs",
"sphinx_rtd_theme",
]
full = ["dawiq[test,doc]"]

[tool.setuptools.dynamic]
version = {attr = "dawiq.version.__version__"}
4 changes: 0 additions & 4 deletions requirements/doc.txt

This file was deleted.

Empty file removed requirements/install.txt
Empty file.
1 change: 0 additions & 1 deletion requirements/test-ci.txt

This file was deleted.

6 changes: 0 additions & 6 deletions requirements/test.txt

This file was deleted.

90 changes: 0 additions & 90 deletions setup.py

This file was deleted.

0 comments on commit 2c2dec3

Please sign in to comment.