diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..4016df6d60b654d32091e3bf9d07938773132037 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +upload: + stage: deploy + needs: [] + image: python:latest + only: + - main + script: + - pip install "setuptools>=62.6" twine + - pip install -r requirements.txt + - python setup.py sdist + - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --verbose --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..fec6e12c30e00b5fd208c31d54de5ec3ccf1aa90 --- /dev/null +++ b/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Bryan BRANCOTTE +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000000000000000000000000000000000000..9c8317c4510812c42d632f2b905fc8fdd88e0c4d --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include LICENSE +include README.rst \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000000000000000000000000000000000000..d541b30f6f035588915f6d171285f9473ee6b911 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[tool.black] +line-length = 120 +skip-string-normalization = true +exclude = '''( + migrations\/ | manage.py | wsgi.py | .venv | venv +) +''' diff --git a/requirements.txt b/requirements.txt index fe8116222d8e2ec1c3d762f7fdaa3ab698ee5a9d..f5508974aae2bc3ccf2c3eea3d7ccf638f94ca8b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -django-basetheme-bootstrap>=v1.6 \ No newline at end of file +django-basetheme-bootstrap>=1.6.1 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000000000000000000000000000000000000..797c606931d6208b19305fa477cc3fcca1e717cd --- /dev/null +++ b/setup.cfg @@ -0,0 +1,24 @@ +[metadata] +name = ebaii-theme +version = 1.3 +description = A theme for EBAII school for django-basetheme-bootstrap app +long_description = file: README.rst +author = Bryan Brancotte +author_email = bryan.brancotte@pasteur.fr +license = BSD-3-Clause # Example license +classifiers = + Environment :: Web Environment + Framework :: Django + Intended Audience :: Developers + License :: OSI Approved :: BSD License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3 + Topic :: Internet :: WWW/HTTP + Topic :: Internet :: WWW/HTTP :: Dynamic Content + +[options] +include_package_data = true +packages = find: +python_requires = >=3.4 +install_requires = file: requirements.txt