Removed setup.py for pyproject.toml

This commit is contained in:
Ethan Smith-Coss 2023-07-30 16:04:16 +01:00
parent e12fa43ed1
commit d480d75de2
Signed by: TheOnePath
GPG Key ID: 4E7D436CE1A0BAF1

View File

@ -1,36 +0,0 @@
import os
import sys
from setuptools import setup, find_packages
CURRENT_PYVERSION = sys.version_info[:2]
REQUIRED_PYVERSION = (3, 6)
if CURRENT_PYVERSION < REQUIRED_PYVERSION:
raise RuntimeError("Unsupported Python version: {}.{}".format(*(REQUIRED_PYVERSION + CURRENT_PYVERSION)))
sys.path.insert(0, '.')
info = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "soypak/__version__.py"), "r", encoding="utf-8") as f:
exec(f.read(), info)
with open(os.path.join(here, "README.md"), 'r', encoding="utf-8") as f:
readme = f.read()
setup(
name=info['__title__'],
version=info['__version__'],
description="soypak - package manager",
long_description=readme,
long_description_content_type="text/markdown",
url=info['__url__'],
author="ClosedLess",
author_email=info['__emails__'],
packages=find_packages(),
license="GNU GPL3+"
)