feat: create python package

master
Xiretza 3 years ago
parent 791de952f4
commit aac27e6a43

4
.gitignore vendored

@ -14,3 +14,7 @@ __pycache__
/etebase_server_settings.py /etebase_server_settings.py
/secret.txt /secret.txt
/build
/dist
/*.egg-info

@ -1,2 +1,6 @@
[tool.black] [tool.black]
line-length = 120 line-length = 120
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"

@ -0,0 +1,20 @@
from setuptools import find_packages, setup
setup(
name='etebase_server',
version='0.8.3',
description='An Etebase (EteSync 2.0) server',
url='https://www.etebase.com/',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: FastAPI',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Affero General Public License v3',
],
packages=find_packages(include=['etebase_server', 'etebase_server.*']),
install_requires=list(open('requirements.in/base.txt')),
package_data={
'etebase_server': ['templates/*'],
}
)
Loading…
Cancel
Save