From 802d614ea39eb6f35797d2033717f1b953a6825f Mon Sep 17 00:00:00 2001 From: Nicholas Nelson Date: Wed, 14 Oct 2020 14:32:54 -0700 Subject: [PATCH] Updated install to use setup.cfg format for setuptools v30.3.0 --- pyproject.toml | 6 ++++++ setup.cfg | 19 +++++++++++++++++++ setup.py | 13 +------------ 3 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 pyproject.toml create mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4ba1442 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools >= 40.9.0", + "wheel", +] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b385720 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,19 @@ +[metadata] +name = MinerUtils +version = 2.6.0 +author = Nicholas Nelson & Caius Brindescu +author_email = nelsonni@oregonstate.edu +license = MIT License +description = GitHub API Access Utilities +url = https://github.com/EPICLab/miner-utils +long_description = file: README.md + +[options] +packages = find: +install_requires = + requests + bigjson + +[options.extras_require] +tests = + pytest >= 3.0.3 \ No newline at end of file diff --git a/setup.py b/setup.py index bfcadb9..5ed5eca 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,3 @@ #!/usr/bin/env python - import setuptools -from distutils.core import setup - -setup(name='MinerUtils', - version='2.6.0', - description='GitHub API Access Utilities', - author='Nicholas Nelson & Caius Brindescu', - author_email='nelsonni@oregonstate.edu', - url='https://github.com/EPICLAB/miner-utils', - packages=['minerutils'], - install_requires=['requests'] - ) +setuptools.setup() \ No newline at end of file