From b2562d59fe1526cee1eafb2ece1c6945626e0466 Mon Sep 17 00:00:00 2001 From: Estelle Poulin Date: Sun, 12 Jun 2022 22:38:38 -0400 Subject: [PATCH] Random stuff --- README.md | 8 ++++++++ pyproject.toml | 5 +++++ setup.py | 23 +++++++++++++++++++++++ subjugate/__init__.py | 1 + 4 files changed, 37 insertions(+) create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 setup.py create mode 100644 subjugate/__init__.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..df9bcbd --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Subjugate + +The missing companion library for Django to use +[dominate](https://pypi.org/project/dominate/) to write templates. + +## Authors + +* Estelle Poulin ([dev@inspiredby.es](mailto:dev@inspiredby.es)) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..1de3c8b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,5 @@ +[tool.black] +line-length = 100 + +[tool.isort] +profile = "black" diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..75ad74e --- /dev/null +++ b/setup.py @@ -0,0 +1,23 @@ +from setuptools import find_packages, setup + +with open('README.md') as readme: + setup( + name='subjugate', + version=__import__("subjugate").__version__, + url='https://github.com/estheruary/subjugate', + license='LGPLv3', + description='Write templates in Django with Dominate', + long_description=readme.read(), + long_description_content_type='text/markdown', + author='Estelle Poulin', + author_email='dev@inspiredby.es', + packages=find_packages(exclude=['tests']), + include_package_data=True, + install_requires=["django>=2.2"], + python_requires=">=3.6", + zip_safe=False, + project_urls={ + 'Source': 'https://github.com/estheruary/subjugate', + 'Changelog': 'https://github.com/estheruary/subjugate/blob/main/CHANGELOG.md', + }, + ) diff --git a/subjugate/__init__.py b/subjugate/__init__.py new file mode 100644 index 0000000..f102a9c --- /dev/null +++ b/subjugate/__init__.py @@ -0,0 +1 @@ +__version__ = "0.0.1"