Skip to content

Commit

Permalink
Adapt to new build infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Aug 20, 2024
1 parent bdec562 commit 7864d8c
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 46 deletions.
5 changes: 0 additions & 5 deletions labotel/MANIFEST.in

This file was deleted.

41 changes: 41 additions & 0 deletions labotel/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[project]
name = 'indico-plugin-labotel'
version = '3.3-dev'
license = 'MIT'
authors = [{ name = 'Indico Team', email = '[email protected]' }]
classifiers = [
'Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.12',
]
requires-python = '>=3.12.2, <3.13'
dependencies = ['indico>=3.3.dev0', 'pyproj>=3.0.0.post1,<4']

[project.urls]
GitHub = 'https://github.com/indico/indico-plugins-cern'

[project.entry-points.'indico.plugins']
labotel = 'indico_labotel.plugin:LabotelPlugin'

[build-system]
requires = ['hatchling==1.25.0']
build-backend = 'hatchling.build'

[tool.hatch.build]
packages = ['indico_labotel']
exclude = [
'*.no-header',
'.keep',
# exclude original client sources (they are all included in source maps anyway)
'indico_*/client/',
# no need for tests outside development
'test_snapshots/',
'tests/',
'*_test.py',
]
artifacts = [
'indico_*/translations/**/messages-react.json',
'indico_*/translations/**/*.mo',
'indico_*/static/dist/',
]
30 changes: 0 additions & 30 deletions labotel/setup.cfg

This file was deleted.

11 changes: 0 additions & 11 deletions labotel/setup.py

This file was deleted.

0 comments on commit 7864d8c

Please sign in to comment.