Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hatch configuration. #2884

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "robotframework-ride"
dynamic = ["version"]
description = "RIDE :: Robot Framework Test Data Editor"
license = "Apache-2.0"
license-files = { paths = ["LICENSE.txt"] }
requires-python = ">=3.8, <3.13"
authors = [
{ name = "Robot Framework Developers", email = "robotframework@gmail.com" },
]
maintainers = [
{ name = "Hélio Guilherme", email = "helioxentric@gmail.com" },
]
keywords = [
"robotframework",
"testautomation",
"testing",
"test editor",
"IDE",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
]
dependencies = [
"psutil",
"Pygments",
"PyPubSub",
"Pywin32; platform_system == 'Windows'",
"wxPython",
]

[project.urls]
Download = "https://pypi.python.org/pypi/robotframework-ride"
Homepage = "https://github.com/robotframework/RIDE/"

[tool.hatch.version]
path = "src/robotide/version.py"

[tool.hatch.build.targets.sdist]
include = [
"/src",
]
[tool.hatch.build.targets.wheel]
packages = ["src/robotide"]

[project.scripts]
ride_postinstall = "robotide.postinstall:main"

[project.gui-scripts]
ride = "robotide:main"

[tool.hatch.envs.test]
dependencies = [
"pytest",
"coverage",
]

[[tool.hatch.envs.test.matrix]]
python = ["3.12"]
version = ["2.1b1"]

[tool.poetry]
name = "robotframework-ride"
version = "2.1b1"
description = "RIDE :: Robot Framework Test Data Editor"
authors = ["Robot Framework Developers <robotframework@gmail.com>"]
license = "Apache-2.0 license"
readme = "README.adoc"
packages = [{include = "robotide"}]

[tool.poetry.dependencies]
python = "^3.8"
wxPython = "^4.0.1"
pywin32 = { version = "*", markers = "sys_platform == 'win32'" }
pygments = "*"
robotframework = "*"
pypubsub = "*"
psutil = "*"

[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-mock = "*"
coverage = "*"
2 changes: 1 addition & 1 deletion src/robotide/application/updatenotifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from .. import version
from ..utils.versioncomparator import cmp_versions, parse_version
from ..widgets import ButtonWithHandler, HtmlWindow, RIDEDialog
from ..postinstall.__main__ import MessageDialog
from ..postinstall import MessageDialog

_ = wx.GetTranslation # To keep linter/code analyser happy
builtins.__dict__['_'] = wx.GetTranslation
Expand Down
Loading
Loading