Mercurial > libervia-web
view pyproject.toml @ 1525:c921e7002bac
build: don't use local dependencies, and remove backend package:
hatch doesn't support yet editable dependencies
(https://github.com/pypa/hatch/issues/588), and to work on dev, backend and templates must
be installed manually in dev mode. To avoid issues during sync when entering a shell,
those dependencies are disabled and must be installed manually.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 08 Jun 2023 21:07:54 +0200 |
parents | 311febeae2d5 |
children | fc2bc024600d |
line wrap: on
line source
[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "libervia-web" dynamic = ["version"] description = "Web frontend for Libervia, a feature-rich XMPP client" readme = "README.md" license = "AGPL-3.0-or-later" requires-python = ">=3.7" authors = [ { name = "Libervia Dev Team", email = "contact@goffi.org" }, ] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Twisted", "Operating System :: POSIX :: Linux", "Topic :: Communications :: Chat", ] dependencies = [ "autobahn >= 23.6.1", "brython >= 3.10", "jinja2 >= 3.1.2", # use during dev mode to have current version of backend # "libervia-backend == 0.9.*", # "libervia-templates >0.8.0b1", "pyopenssl >= 23.2.0", "shortuuid ~= 1.0.11", "twisted[tls] >= 22.10", "zope.interface >= 5", ] keywords = [ "XMPP", "web", "brython", "chat", "instant_messaging", "blogging", "photo albums", "file sharing", "events" ] [project.scripts] libervia-web = "libervia.web.server.launcher:Launcher.run" [project.urls] Homepage = "https://www.libervia.org" [tool.hatch.build.targets.wheel] packages = ["libervia"] [tool.hatch.envs.default] # we need system-package for GPG system-packages = true [tool.hatch.envs.dev] dependencies = [ "ipdb", "pudb" ] [tool.hatch.metadata] allow-direct-references = true [tool.hatch.version] path = "libervia/web/__init__.py" [tool.hatch.build.targets.wheel.shared-data] COPYING = "share/doc/libervia-web/COPYING" "README.md" = "share/doc/libervia-web/README.md"