1
0
mirror of https://github.com/etesync/server synced 2024-11-14 04:49:18 +00:00

feat: create python package

This commit is contained in:
Xiretza 2022-05-08 15:33:12 +02:00
parent 791de952f4
commit aac27e6a43
3 changed files with 29 additions and 1 deletions

4
.gitignore vendored
View File

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

View File

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

20
setup.py Normal file
View File

@ -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/*'],
}
)