Skip to content

Commit

Permalink
Update package setup info using pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
amochin committed Jul 17, 2023
1 parent 2421f3f commit f605c72
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 102 deletions.
33 changes: 33 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[build-system]
requires = [
"setuptools>=61.0",
"robotframework",
"robotframework-excellib"
]
build-backend = "setuptools.build_meta"

[project]
name = "robotframework-databaselibrary"
authors = [{name="Franz Allan Valencia See", email="franz.see@gmail.com"},
]
description = "Database Library for Robot Framework"
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"robotframework",
"robotframework-excellib"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
license = {file = "LICENSE"}
dynamic = ["version"]

[project.urls]
"Homepage" = "https://github.com/MarketSquare/Robotframework-Database-Library"
"Keyword docs" = "http://marketsquare.github.io/Robotframework-Database-Library/"

[tool.setuptools.dynamic]
version = {attr = "DatabaseLibrary.__version__"}
101 changes: 0 additions & 101 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/DatabaseLibrary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from DatabaseLibrary.assertion import Assertion
from DatabaseLibrary.version import VERSION

_version_ = VERSION
__version__ = VERSION

class DatabaseLibrary(ConnectionManager, Query, Assertion):
"""
Expand Down

0 comments on commit f605c72

Please sign in to comment.