diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 0fb195c..9155adc 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -18,14 +18,14 @@ jobs: name: isort runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -41,14 +41,14 @@ jobs: name: flake8 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -65,14 +65,14 @@ jobs: name: black runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -89,14 +89,14 @@ jobs: name: djhtml runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -109,34 +109,34 @@ jobs: - name: Run docformatter run: find -name "*.html" | xargs djhtml -c working-directory: . - packaging: - name: packaging - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: install gettext - run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 - with: - python-version: "3.10" - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install pretalx - run: pip3 install pretalx - - name: Install Dependencies - run: pip3 install twine check-manifest -Ue . - - name: Run check-manifest - run: check-manifest . - working-directory: . - - name: Build package - run: python setup.py sdist - working-directory: . - - name: Check package - run: twine check dist/* - working-directory: . +# packaging: +# name: packaging +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - name: install gettext +# run: sudo apt install gettext +# - name: Set up Python 3.12 +# uses: actions/setup-python@v5 +# with: +# python-version: "3.12" +# - uses: actions/cache@v4 +# with: +# path: ~/.cache/pip +# key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} +# restore-keys: | +# ${{ runner.os }}-pip- +# - name: Install pretalx +# run: pip3 install pretalx +# - name: Install Dependencies +# run: pip3 install twine check-manifest -Ue . +# - name: Run check-manifest +# run: check-manifest . +# working-directory: . +# - name: Build package +# run: python setup.py sdist +# working-directory: . +# - name: Check package +# run: twine check dist/* +# working-directory: . diff --git a/.gitignore b/.gitignore index 8be8f5e..2b48278 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,5 @@ target/ #Ipython Notebook .ipynb_checkpoints + +pretalx_halfnarp/locale/**/*.mo diff --git a/MANIFEST.in b/MANIFEST.in index fc0d3f8..65554b3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,5 +2,6 @@ recursive-include pretalx_halfnarp/static * recursive-include pretalx_halfnarp/templates * exclude pretalx_halfnarp/locale/django.pot recursive-include pretalx_halfnarp/locale * -recursive-include pretalx_halfnarp/ *.py +recursive-include pretalx_halfnarp *.py include Makefile +recursive-exclude images *.png diff --git a/pretalx_halfnarp/__init__.py b/pretalx_halfnarp/__init__.py index 1a72d32..6849410 100644 --- a/pretalx_halfnarp/__init__.py +++ b/pretalx_halfnarp/__init__.py @@ -1 +1 @@ -__version__ = '1.1.0' +__version__ = "1.1.0" diff --git a/pretalx_halfnarp/locale/de_DE/LC_MESSAGES/django.mo b/pretalx_halfnarp/locale/de_DE/LC_MESSAGES/django.mo deleted file mode 100644 index dfe4eda..0000000 Binary files a/pretalx_halfnarp/locale/de_DE/LC_MESSAGES/django.mo and /dev/null differ