mirror of
https://github.com/pretix/pretix.git
synced 2025-12-12 04:42:28 +00:00
Compare commits
2 Commits
widget-dat
...
v4.19.0.po
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb0ffeeff3 | ||
|
|
78711f9884 |
@@ -22,13 +22,14 @@ pypi:
|
|||||||
- source env/bin/activate
|
- source env/bin/activate
|
||||||
- pip install -U pip wheel setuptools check-manifest twine
|
- pip install -U pip wheel setuptools check-manifest twine
|
||||||
- XDG_CACHE_HOME=/cache pip3 install -e ".[dev]"
|
- XDG_CACHE_HOME=/cache pip3 install -e ".[dev]"
|
||||||
- cd src
|
|
||||||
- python setup.py sdist
|
- python setup.py sdist
|
||||||
- pip install dist/pretix-*.tar.gz
|
- pip install dist/pretix-*.tar.gz
|
||||||
- python -m pretix migrate
|
- python -m pretix migrate
|
||||||
- python -m pretix check
|
- python -m pretix check
|
||||||
- check-manifest
|
- cd src
|
||||||
- make npminstall
|
- make npminstall
|
||||||
|
- cd ..
|
||||||
|
- check-manifest
|
||||||
- python setup.py sdist bdist_wheel
|
- python setup.py sdist bdist_wheel
|
||||||
- twine check dist/*
|
- twine check dist/*
|
||||||
- twine upload dist/*
|
- twine upload dist/*
|
||||||
|
|||||||
23
Dockerfile
23
Dockerfile
@@ -41,18 +41,6 @@ RUN apt-get update && \
|
|||||||
ENV LC_ALL=C.UTF-8 \
|
ENV LC_ALL=C.UTF-8 \
|
||||||
DJANGO_SETTINGS_MODULE=production_settings
|
DJANGO_SETTINGS_MODULE=production_settings
|
||||||
|
|
||||||
# To copy only the requirements files needed to install from PIP
|
|
||||||
COPY src/setup.py /pretix/src/setup.py
|
|
||||||
RUN pip3 install -U \
|
|
||||||
pip \
|
|
||||||
setuptools \
|
|
||||||
wheel && \
|
|
||||||
cd /pretix/src && \
|
|
||||||
PRETIX_DOCKER_BUILD=TRUE pip3 install \
|
|
||||||
-e ".[memcached,mysql]" \
|
|
||||||
gunicorn django-extensions ipython && \
|
|
||||||
rm -rf ~/.cache/pip
|
|
||||||
|
|
||||||
COPY deployment/docker/pretix.bash /usr/local/bin/pretix
|
COPY deployment/docker/pretix.bash /usr/local/bin/pretix
|
||||||
COPY deployment/docker/supervisord /etc/supervisord
|
COPY deployment/docker/supervisord /etc/supervisord
|
||||||
COPY deployment/docker/supervisord.all.conf /etc/supervisord.all.conf
|
COPY deployment/docker/supervisord.all.conf /etc/supervisord.all.conf
|
||||||
@@ -60,9 +48,18 @@ COPY deployment/docker/supervisord.web.conf /etc/supervisord.web.conf
|
|||||||
COPY deployment/docker/nginx.conf /etc/nginx/nginx.conf
|
COPY deployment/docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY deployment/docker/nginx-max-body-size.conf /etc/nginx/conf.d/nginx-max-body-size.conf
|
COPY deployment/docker/nginx-max-body-size.conf /etc/nginx/conf.d/nginx-max-body-size.conf
|
||||||
COPY deployment/docker/production_settings.py /pretix/src/production_settings.py
|
COPY deployment/docker/production_settings.py /pretix/src/production_settings.py
|
||||||
|
COPY pyproject.toml /pretix/pyproject.toml
|
||||||
COPY src /pretix/src
|
COPY src /pretix/src
|
||||||
|
|
||||||
RUN cd /pretix/src && python setup.py install
|
RUN pip3 install -U \
|
||||||
|
pip \
|
||||||
|
setuptools \
|
||||||
|
wheel && \
|
||||||
|
cd /pretix && \
|
||||||
|
PRETIX_DOCKER_BUILD=TRUE pip3 install \
|
||||||
|
-e ".[memcached,mysql]" \
|
||||||
|
gunicorn django-extensions ipython && \
|
||||||
|
rm -rf ~/.cache/pip
|
||||||
|
|
||||||
RUN chmod +x /usr/local/bin/pretix && \
|
RUN chmod +x /usr/local/bin/pretix && \
|
||||||
rm /etc/nginx/sites-enabled/default && \
|
rm /etc/nginx/sites-enabled/default && \
|
||||||
|
|||||||
14
MANIFEST.in
14
MANIFEST.in
@@ -1,5 +1,6 @@
|
|||||||
include LICENSE
|
include LICENSE
|
||||||
include README.rst
|
include README.rst
|
||||||
|
include src/Makefile
|
||||||
global-include *.proto
|
global-include *.proto
|
||||||
recursive-include src/pretix/static *
|
recursive-include src/pretix/static *
|
||||||
recursive-include src/pretix/static.dist *
|
recursive-include src/pretix/static.dist *
|
||||||
@@ -31,3 +32,16 @@ recursive-include src/pretix/plugins/returnurl/templates *
|
|||||||
recursive-include src/pretix/plugins/returnurl/static *
|
recursive-include src/pretix/plugins/returnurl/static *
|
||||||
recursive-include src/pretix/plugins/webcheckin/templates *
|
recursive-include src/pretix/plugins/webcheckin/templates *
|
||||||
recursive-include src/pretix/plugins/webcheckin/static *
|
recursive-include src/pretix/plugins/webcheckin/static *
|
||||||
|
recursive-include src *.cfg
|
||||||
|
recursive-include src *.csv
|
||||||
|
recursive-include src *.gitkeep
|
||||||
|
recursive-include src *.jpg
|
||||||
|
recursive-include src *.json
|
||||||
|
recursive-include src *.py
|
||||||
|
recursive-include src *.svg
|
||||||
|
recursive-include src *.txt
|
||||||
|
recursive-include src Makefile
|
||||||
|
|
||||||
|
recursive-exclude doc *
|
||||||
|
recursive-exclude deployment *
|
||||||
|
recursive-exclude res *
|
||||||
|
|||||||
40
setup.cfg
Normal file
40
setup.cfg
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[check-manifest]
|
||||||
|
ignore =
|
||||||
|
env/**
|
||||||
|
doc/*
|
||||||
|
deployment/*
|
||||||
|
res/*
|
||||||
|
src/.update-locales
|
||||||
|
src/Makefile
|
||||||
|
src/manage.py
|
||||||
|
src/pretix/icons/*
|
||||||
|
src/pretix/static.dist/**
|
||||||
|
src/pretix/static/jsi18n/**
|
||||||
|
src/requirements.txt
|
||||||
|
src/requirements/*
|
||||||
|
src/tests/*
|
||||||
|
src/tests/api/*
|
||||||
|
src/tests/base/*
|
||||||
|
src/tests/control/*
|
||||||
|
src/tests/testdummy/*
|
||||||
|
src/tests/templates/*
|
||||||
|
src/tests/presale/*
|
||||||
|
src/tests/doc/*
|
||||||
|
src/tests/helpers/*
|
||||||
|
src/tests/media/*
|
||||||
|
src/tests/multidomain/*
|
||||||
|
src/tests/plugins/*
|
||||||
|
src/tests/plugins/badges/*
|
||||||
|
src/tests/plugins/banktransfer/*
|
||||||
|
src/tests/plugins/paypal/*
|
||||||
|
src/tests/plugins/paypal2/*
|
||||||
|
src/tests/plugins/pretixdroid/*
|
||||||
|
src/tests/plugins/stripe/*
|
||||||
|
src/tests/plugins/sendmail/*
|
||||||
|
src/tests/plugins/ticketoutputpdf/*
|
||||||
|
.*
|
||||||
|
CODE_OF_CONDUCT.md
|
||||||
|
CONTRIBUTING.md
|
||||||
|
Dockerfile
|
||||||
|
SECURITY.md
|
||||||
|
|
||||||
@@ -93,34 +93,3 @@ phrases =
|
|||||||
Stripe Connect
|
Stripe Connect
|
||||||
chunkers = enchant.tokenize.HTMLChunker
|
chunkers = enchant.tokenize.HTMLChunker
|
||||||
filters = PythonFormatFilter,enchant.tokenize.URLFilter,HTMLFilter
|
filters = PythonFormatFilter,enchant.tokenize.URLFilter,HTMLFilter
|
||||||
|
|
||||||
[check-manifest]
|
|
||||||
ignore =
|
|
||||||
.update-locales
|
|
||||||
Makefile
|
|
||||||
manage.py
|
|
||||||
pretix/icons/*
|
|
||||||
pretix/static.dist/**
|
|
||||||
pretix/static/jsi18n/**
|
|
||||||
requirements.txt
|
|
||||||
requirements/*
|
|
||||||
tests/*
|
|
||||||
tests/api/*
|
|
||||||
tests/base/*
|
|
||||||
tests/control/*
|
|
||||||
tests/testdummy/*
|
|
||||||
tests/templates/*
|
|
||||||
tests/presale/*
|
|
||||||
tests/doc/*
|
|
||||||
tests/helpers/*
|
|
||||||
tests/media/*
|
|
||||||
tests/multidomain/*
|
|
||||||
tests/plugins/*
|
|
||||||
tests/plugins/badges/*
|
|
||||||
tests/plugins/banktransfer/*
|
|
||||||
tests/plugins/paypal/*
|
|
||||||
tests/plugins/paypal2/*
|
|
||||||
tests/plugins/pretixdroid/*
|
|
||||||
tests/plugins/stripe/*
|
|
||||||
tests/plugins/sendmail/*
|
|
||||||
tests/plugins/ticketoutputpdf/*
|
|
||||||
|
|||||||
Reference in New Issue
Block a user