Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pretix public registrations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIF
Pretix public registrations
Commits
36fdbe80
Commit
36fdbe80
authored
4 months ago
by
Felix Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
Move to pyproject.toml
parent
9ccdcf51
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+53
-0
53 additions, 0 deletions
pyproject.toml
setup.py
+2
-57
2 additions, 57 deletions
setup.py
with
55 additions
and
57 deletions
pyproject.toml
0 → 100644
+
53
−
0
View file @
36fdbe80
[project]
name
=
"pretix-public-registrations"
dynamic
=
[
"version"
]
description
=
"""
This plugin will give the option to attendees of an event to mark their
registration as public. Public registrations will be shown along their answers
to questions marked as public by the organizers on a world-readable page.
"""
readme
=
"README.rst"
license
=
{
text
=
"MIT License"
}
keywords
=
[
"pretix"
,
"public registrations"
]
authors
=
[
{
name
=
"Felix Schäfer"
,
email
=
"admin@kif.rocks"
}
,
{
name
=
"Dominik Weitz"
}
,
]
maintainers
=
[
{
name
=
"Felix Schäfer"
,
email
=
"admin@kif.rocks"
}
,
]
classifiers
=
[
"Development Status :: 5 - Production/Stable"
,
"Environment :: Plugins"
,
"Framework :: Django"
,
"License :: OSI Approved :: MIT License"
,
"Programming Language :: Python :: 3"
,
]
[project.entry-points."pretix.plugin"]
pretix_public_registrations
=
"pretix_public_registrations:PretixPluginMeta"
[project.entry-points."distutils.commands"]
build
=
"pretix_plugin_build.build:CustomBuild"
[build-system]
requires
=
[
"setuptools"
,
"pretix-plugin-build"
,
]
[project.urls]
Homepage
=
"https://gitlab.fachschaften.org/kif/pretix-public-registrations"
Repository
=
"https://gitlab.fachschaften.org/kif/pretix-public-registrations"
Tracker
=
"https://gitlab.fachschaften.org/kif/pretix-public-registrations/-/issues"
"pretix Marketplace"
=
"https://marketplace.pretix.eu/products/public-registrations/"
[tool.setuptools]
include-package-data
=
true
[tool.setuptools.dynamic]
version
=
{
attr
=
"pretix_public_registrations.__version__"
}
[tool.setuptools.packages.find]
include
=
[
"pretix*"
]
namespaces
=
false
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
57
View file @
36fdbe80
import
os
from
distutils.command.build
import
build
from
setuptools
import
setup
from
django.core
import
management
from
setuptools
import
find_packages
,
setup
from
pretix_public_registrations
import
__version__
try
:
with
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"
README.rst
"
),
encoding
=
"
utf-8
"
)
as
f
:
long_description
=
f
.
read
()
except
Exception
:
long_description
=
""
class
CustomBuild
(
build
):
def
run
(
self
):
management
.
call_command
(
"
compilemessages
"
,
verbosity
=
1
)
build
.
run
(
self
)
cmdclass
=
{
"
build
"
:
CustomBuild
}
setup
(
name
=
"
pretix-public-registrations
"
,
version
=
__version__
,
description
=
"
This plugin will give the option to attendees of an event to mark their registration as public.
"
"
Public registrations will be shown along their answers to questions marked as public by the organizers on a world-readable page.
"
,
long_description
=
long_description
,
keywords
=
"
pretix public registrations
"
,
url
=
"
https://gitlab.fachschaften.org/kif/pretix-public-registrations
"
,
project_urls
=
{
"
Bug Tracker
"
:
"
https://gitlab.fachschaften.org/kif/pretix-public-registrations/issues
"
,
"
Source Code
"
:
"
https://gitlab.fachschaften.org/kif/pretix-public-registrations/tree/master
"
,
},
author
=
"
Felix Schäfer, Dominik Weitz
"
,
author_email
=
"
admin@kif.rocks
"
,
license
=
"
MIT
"
,
classifiers
=
[
"
Development Status :: 5 - Production/Stable
"
,
"
Environment :: Plugins
"
,
"
Framework :: Django
"
,
"
License :: OSI Approved :: MIT License
"
,
"
Programming Language :: Python :: 3
"
,
],
install_requires
=
[],
packages
=
find_packages
(
exclude
=
[
"
tests
"
,
"
tests.*
"
]),
include_package_data
=
True
,
cmdclass
=
cmdclass
,
entry_points
=
"""
[pretix.plugin]
pretix_public_registrations=pretix_public_registrations:PretixPluginMeta
"""
,
)
setup
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment