From d32847ce3c58bafebe80118a6e6729b6c3704244 Mon Sep 17 00:00:00 2001 From: Marco Rubin <20150305+Rubo3@users.noreply.github.com> Date: Wed, 6 Sep 2023 09:16:38 +0000 Subject: [PATCH 1/4] Delete setup.py --- setup.py | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 setup.py diff --git a/setup.py b/setup.py deleted file mode 100644 index 0c1ce47..0000000 --- a/setup.py +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env python -from setuptools import setup, find_packages -import sys - -long_description = '' - -if 'sdist' in sys.argv: - with open('README.rst') as f: - long_description = f.read() - - -setup( - name='slider', - version='0.8.0', - description='Utilities for working with osu! files and data', - author='Joe Jevnik', - author_email='joejev@gmail.com', - packages=find_packages(), - long_description=long_description, - license='LGPLv3+', - classifiers=[ - 'Development Status :: 3 - Alpha', - 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', # noqa - 'Natural Language :: English', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3 :: Only', - 'Topic :: Games/Entertainment', - ], - url='https://github.com/llllllllll/slider', - install_requires=[ - 'numpy', - 'requests', - 'scipy', - ], - extras_require={ - 'dev': [ - 'flake8==3.7.9', - 'mccabe==0.6.1', - 'pyflakes==2.1.1', - 'pytest==5.4.1', - ], - 'cli': [ - 'click', - ], - }, -) From c2e12da029a5548736420902bf3638fe0fb48929 Mon Sep 17 00:00:00 2001 From: Marco Rubin <20150305+Rubo3@users.noreply.github.com> Date: Wed, 6 Sep 2023 09:22:11 +0000 Subject: [PATCH 2/4] Create pyproject.toml --- pyproject.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b937f27 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,40 @@ +[project] +name = "slider" +version = "0.8.0" +description = "Utilities for working with osu! files and data." +authors = [{name="Joe Jevnik", email="joejev@gmail.com"}] +license = {text="LGPLv3+"} +readme = "README.rst" +classifiers = [ + "Development Status :: 3 - Alpha", + "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", + "Natural Language :: English", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3 :: Only", + "Topic :: Games/Entertainment", +] +requires-python = ">=3.7" +dependencies = [ + "numpy", + "requests", + "scipy", +] +scripts = {slider="slider.__main__:main"} + +[project.optional-dependencies] +cli = ["click"] +dev = [ + "flake8==3.7.9", + "mccabe==0.6.1", + "pyflakes==2.1.1", + "pytest==5.4.1", +] + +[project.urls] +Homepage = "https://github.com/llllllllll/slider" +Documentation = "https://llllllllll.github.io/slider/index.html" +Repository = "https://github.com/llllllllll/slider.git" + +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" From 4d64ae4ede685650967af7c9e945f6b47f1403f4 Mon Sep 17 00:00:00 2001 From: Marco Rubin <20150305+Rubo3@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:35:04 +0000 Subject: [PATCH 3/4] Revert python version 3.7 to 3.6 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b937f27..6eabea8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,11 +9,11 @@ classifiers = [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Natural Language :: English", - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Games/Entertainment", ] -requires-python = ">=3.7" +requires-python = ">=3.6" dependencies = [ "numpy", "requests", From 367b85b4bfca2c10704c0ab78fa26cd09e8de3f1 Mon Sep 17 00:00:00 2001 From: Marco Rubin <20150305+Rubo3@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:38:28 +0000 Subject: [PATCH 4/4] Remove [build-system] --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6eabea8..2994a99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,3 @@ dev = [ Homepage = "https://github.com/llllllllll/slider" Documentation = "https://llllllllll.github.io/slider/index.html" Repository = "https://github.com/llllllllll/slider.git" - -[build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta"