Skip to content

Commit

Permalink
Migration from setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
abulgher committed Jan 15, 2023
1 parent 4c30e5d commit 12059ea
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 20 deletions.
37 changes: 37 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["elog"]

[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.pytest_cache",
"/dist"
]

[project]
name = "py_elog"
version = "1.3.16"
authors = [
{ name = "Paul Scherrer Institute" },
]
dependencies = [
'requests',
'passlib',
'lxml'
]
description = "Python library to access Elog."
readme = "README.md"
license = { file = "LICENSE.txt" }
requires-python = ">=3"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent"
]

[project.urls]
"Homepage" = "https://github.com/paulscherrerinstitute/py_elog"
20 changes: 0 additions & 20 deletions setup.py

This file was deleted.

0 comments on commit 12059ea

Please sign in to comment.