From db057e157b2aba1a53c85455ccc78b408d6a9bd8 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sat, 17 Aug 2019 12:32:27 +0200 Subject: [PATCH] Move to poetry. --- pyproject.toml | 27 +++++++++++++++++++++++++++ setup.py | 30 ------------------------------ 2 files changed, 27 insertions(+), 30 deletions(-) create mode 100644 pyproject.toml delete mode 100755 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..e1602146 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,27 @@ +[tool.poetry] +name = "BiscuIT-App-Chronos" +version = "1.0a0.dev0" +packages = [ + { include = "biscuit" } +] +readme = "README.md" + +description = "BiscuIT School Information System (SIS) - App Chronos (Time tables)" +authors = ["BiscuIT Team <biscuit-dev@lists.teckids.org>"] +license = "MIT" +homepage = "https://biscuit.edugit.org/" +repository = "https://edugit.org/Teckids/BiscuIT/BiscuIT-App-Chronos" +documentation = "https://biscuit.edugit.org/docs/html/" +classifiers = [ + "Environment :: Web Environment", + "Intended Audience :: Education", + "Topic :: Education" +] + +[tool.poetry.dependencies] +python = "^3.7" +BiscuIT-ng = {version = "^1.0a0.dev0", allows-prereleases = true, path = "../../.."} + +[build-system] +requires = ["poetry>=0.12"] +build-backend = "poetry.masonry.api" diff --git a/setup.py b/setup.py deleted file mode 100755 index 51afb01f..00000000 --- a/setup.py +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python3 - -from setuptools import setup - -setup( - name='BiscuIT-App-Chronos', - version='1.0dev0', - url='https://edugit.org/Teckids/BiscuIT/BiscuIT-App-Chronos', - author="Teckids e.V.", - author_email="verein@teckids.org", - packages=[ - 'biscuit.apps.chronos' - ], - namespace_packages=[ - 'biscuit', - 'biscuit.apps' - ], - include_package_data=True, - install_requires=[ - 'BiscuIT-ng', - ], - classifiers=[ - "Development Status :: 3 - Alpha", - "Environment :: Web Environment", - "Intended Audience :: Education", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3", - "Topic :: Education", - ], -) -- GitLab