2012-05-07 06:36:01 +00:00
|
|
|
import os
|
2016-09-20 09:34:28 +00:00
|
|
|
import io
|
2009-03-01 00:04:19 +00:00
|
|
|
from setuptools import setup, find_packages
|
2007-07-20 14:52:00 +00:00
|
|
|
|
2012-05-07 06:36:01 +00:00
|
|
|
|
|
|
|
|
def read(*parts):
|
2015-08-18 12:15:26 +00:00
|
|
|
filename = os.path.join(os.path.dirname(__file__), *parts)
|
2020-12-09 08:55:35 +00:00
|
|
|
with io.open(filename, encoding="utf-8") as fp:
|
2015-08-18 12:15:26 +00:00
|
|
|
return fp.read()
|
2012-05-07 06:36:01 +00:00
|
|
|
|
|
|
|
|
|
2008-05-13 22:34:38 +00:00
|
|
|
setup(
|
2022-06-15 12:29:06 +00:00
|
|
|
name="django-dbtemplates-iplweb",
|
2020-12-09 08:55:35 +00:00
|
|
|
use_scm_version={"version_scheme": "post-release"},
|
|
|
|
|
setup_requires=["setuptools_scm"],
|
|
|
|
|
description="Template loader for templates stored in the database",
|
|
|
|
|
long_description=read("README.rst"),
|
|
|
|
|
author="Jannis Leidel",
|
|
|
|
|
author_email="jannis@leidel.info",
|
|
|
|
|
url="https://django-dbtemplates.readthedocs.io/",
|
2016-09-20 08:31:18 +00:00
|
|
|
packages=find_packages(),
|
2009-03-01 00:04:19 +00:00
|
|
|
zip_safe=False,
|
2012-05-07 06:36:01 +00:00
|
|
|
package_data={
|
2020-12-09 08:55:35 +00:00
|
|
|
"dbtemplates": [
|
|
|
|
|
"locale/*/LC_MESSAGES/*",
|
|
|
|
|
"static/dbtemplates/css/*.css",
|
|
|
|
|
"static/dbtemplates/js/*.js",
|
2009-03-01 00:04:19 +00:00
|
|
|
],
|
|
|
|
|
},
|
2008-05-13 22:34:38 +00:00
|
|
|
classifiers=[
|
2020-12-09 08:55:35 +00:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
|
"Environment :: Web Environment",
|
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
|
"License :: OSI Approved :: BSD License",
|
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
|
"Programming Language :: Python",
|
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
|
"Framework :: Django",
|
2011-04-11 16:02:04 +00:00
|
|
|
],
|
2020-12-09 08:55:35 +00:00
|
|
|
install_requires=["django-appconf >= 0.4"],
|
2008-05-13 22:34:38 +00:00
|
|
|
)
|