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

Experimental: support for uv #154

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
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
2 changes: 2 additions & 0 deletions linux-requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python3-xlib
distro
119 changes: 62 additions & 57 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[tool.poetry]
[project]
name = "AYON"
version = "1.0.4-dev.1"
description = "Open VFX and Animation pipeline with support."
authors = ["Ynput s.r.o. <[email protected]>"]
license = "MIT License"
authors = [
{name = "Ynput s.r.o.", email = "[email protected]"}
]
license = {file = "LICENSE"}

homepage = "https://ynput.io"
documentation = "https://ayon.ynput.io"
repository = "https://github.com/ynput/ayon-launcher"
Expand All @@ -18,70 +21,69 @@ packages = [
{include = "pyproject.toml"},
{include = "poetry.lock"}
]
ayon-python-api = ">=3.9.1,<3.10"
requires-python = ">=3.9.6"

[tool.poetry.scripts]
ayon = "start:boot"
dependencies = [
"ayon-python-api",
"arrow ~= 0.17",
"Unidecode ~= 1.2.0",
"aiohttp ~= 3.7",
# local settings
"appdirs @ git+https://github.com/ActiveState/appdirs.git",
"coolname",
"keyring ~= 22.0.1",
# environment variables resolving
"acre @ git+https://github.com/pypeclub/acre.git",
# terminal formatting
"blessed ~= 1.17", # Use only in helper scripts
"enlighten ~= 1.9.0",
# requirements
"cryptography ~= 39.0.0",
"dnspython ~= 2.1.0",
"urllib3 == 1.26.16",
"semver ~= 2.13.0",
"QtPy ~= 2.3.0",
"cx_Freeze ~= 6.12.0",
"toml"
]

[tool.poetry.dependencies]
python = ">=3.9.1,<3.10"
# ayon python api
ayon-python-api = "*"
arrow = "^0.17"
Unidecode = "^1.2.0"
aiohttp = "^3.7"
# local settings
appdirs = { git = "https://github.com/ActiveState/appdirs.git", branch = "master" }
coolname = "*"
keyring = "^22.0.1"
# environment variables resolving
acre = { git = "https://github.com/pypeclub/acre.git" }
# terminal formatting
blessed = "^1.17" # Use only in helper scripts
enlighten = "^1.9.0"
# requirements
cryptography = "39.0.0"
dnspython = "^2.1.0"
urllib3 = "1.26.16"
semver = "^2.13.0"
QtPy = "^2.3.0"
pywin32 = { version = "301", markers = "sys_platform == 'win32'" }
python3-xlib = { version="*", markers = "sys_platform == 'linux'"}
distro = { version="^1.9.0", markers = "sys_platform == 'linux'"}
[project.optional-dependencies]
dev = [
"flake8 ~= 6.0",
"autopep8 ~= 2.0",
"coverage",
"cx_Freeze ~= 6.12.0",
"GitPython ~= 3.1.17",
"jedi ~= 0.13",
"Jinja2",
"markupsafe ~= 2.0.1",
"pycodestyle",
"pydocstyle",
"linkify-it-py ~= 2.0.0",
"myst-parser ~= 0.18.1",
"pylint ~= 2.5",
"pytest ~= 6.1",
"pytest-cov",
"pytest-print",
"wheel",
"enlighten", # cool terminal progress bars
"toml ~= 0.10.2", # for parsing pyproject.toml
"pre-commit"
]

[tool.poetry.dev-dependencies]
flake8 = "^6.0"
autopep8 = "^2.0"
coverage = "*"
cx_freeze = "6.12.0"
GitPython = "^3.1.17"
jedi = "^0.13"
Jinja2 = "^3"
markupsafe = "2.0.1"
pycodestyle = "*"
pydocstyle = "*"
linkify-it-py = "^2.0.0"
myst-parser = "^0.18.1"
pylint = "^2.4.4"
pytest = "^6.1"
pytest-cov = "*"
pytest-print = "*"
wheel = "*"
enlighten = "*" # cool terminal progress bars
toml = "^0.10.2" # for parsing pyproject.toml
pre-commit = "*"
[project.scripts]
ayon = "start:boot"

[tool.poetry.urls]
[project.urls]
"Bug Tracker" = "https://github.com/ynput/ayon-launcher/issues"
"Discussions" = "https://github.com/ynput/ayon-launcher/discussions"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"

[ayon]
# note: in here we can use pip version specifiers as this is installed with pip until
# Poetry will support custom location (-t flag for pip)
# https://pip.pypa.io/en/stable/cli/pip_install/#requirement-specifiers
[ayon.qtbinding.windows]
package = "PySide6"
version = "6.7.1"
Expand All @@ -102,6 +104,9 @@ version = "5.15.2"
package = "PySide2"
version = "5.15.2"

[tool.hatch.metadata]
allow-direct-references = true

[tool.pyright]
include = [
"vendor"
Expand Down
109 changes: 109 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml windows-requirements.in -o requirements.txt
acre @ git+https://github.com/pypeclub/acre.git@5f55105deafd79165a4b59780475de82c06184e9
# via ayon (pyproject.toml)
aiohappyeyeballs==2.4.0
# via aiohttp
aiohttp==3.10.5
# via ayon (pyproject.toml)
aiosignal==1.3.1
# via aiohttp
ansicon==1.89.0
# via jinxed
appdirs @ git+https://github.com/ActiveState/appdirs.git@8734277956c1df3b85385e6b308e954910533884
# via
# ayon (pyproject.toml)
# ayon-python-api
arrow==0.17.0
# via ayon (pyproject.toml)
async-timeout==4.0.3
# via aiohttp
attrs==24.2.0
# via aiohttp
ayon-python-api==1.0.5
# via ayon (pyproject.toml)
blessed==1.20.0
# via
# ayon (pyproject.toml)
# enlighten
certifi==2024.7.4
# via requests
cffi==1.17.0
# via cryptography
charset-normalizer==3.3.2
# via requests
coolname==2.2.0
# via ayon (pyproject.toml)
cryptography==39.0.2
# via ayon (pyproject.toml)
cx-freeze==6.12.0
# via ayon (pyproject.toml)
cx-logging==3.2.0
# via cx-freeze
dnspython==2.1.0
# via ayon (pyproject.toml)
enlighten==1.9.0
# via ayon (pyproject.toml)
frozenlist==1.4.1
# via
# aiohttp
# aiosignal
idna==3.7
# via
# requests
# yarl
importlib-metadata==8.3.0
# via cx-freeze
jinxed==1.3.0
# via blessed
keyring==22.0.1
# via ayon (pyproject.toml)
lief==0.15.1
# via cx-freeze
multidict==6.0.5
# via
# aiohttp
# yarl
packaging==24.1
# via
# cx-freeze
# qtpy
prefixed==0.8.0
# via enlighten
pycparser==2.22
# via cffi
python-dateutil==2.9.0.post0
# via arrow
pywin32==301
# via -r windows-requirements.in
pywin32-ctypes==0.2.3
# via keyring
qtpy==2.3.1
# via ayon (pyproject.toml)
requests==2.32.3
# via ayon-python-api
semver==2.13.0
# via ayon (pyproject.toml)
setuptools==65.7.0
# via cx-freeze
six==1.16.0
# via
# ayon-python-api
# blessed
# python-dateutil
toml==0.10.2
# via ayon (pyproject.toml)
unidecode==1.2.0
# via
# ayon (pyproject.toml)
# ayon-python-api
urllib3==1.26.16
# via
# ayon (pyproject.toml)
# requests
wcwidth==0.2.13
# via blessed
yarl==1.9.4
# via aiohttp
zipp==3.20.0
# via importlib-metadata
Loading