From af9d1d06c285dc06a83c884392b6cefa855f53ba Mon Sep 17 00:00:00 2001 From: jsh9 <25124332+jsh9@users.noreply.github.com> Date: Mon, 1 May 2023 00:32:21 -0700 Subject: [PATCH] Migrate to setup.cfg --- setup.cfg | 42 ++++++++++++++++++++++++++++++++++++++++++ setup.py | 32 ++------------------------------ 2 files changed, 44 insertions(+), 30 deletions(-) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..3fd54db --- /dev/null +++ b/setup.cfg @@ -0,0 +1,42 @@ +[metadata] +name = plot_utils +version = v0.6.14 +description = A Python library for elegant data visualization +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/jsh9/python-plot-utils +license = GPL v3.0 +license_file = LICENSE +classifiers = + License :: OSI Approved :: GPL License + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.4 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + +[options] +packages = find_namespace: +install_requires = + numpy>=1.11.0 + scipy>=0.19.0 + pandas>=0.17.1 + cycler>=0.10.0 + matplotlib +python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.* +include_package_data = True + +[options.packages.find] +exclude = + tests* +include = + plot_utils + plot_utils.* + +[bdist_wheel] +universal = True diff --git a/setup.py b/setup.py index 8ab997a..b024da8 100644 --- a/setup.py +++ b/setup.py @@ -1,32 +1,4 @@ from setuptools import setup -setup( - name='plot_utils', - version='v0.6.14', - description='A Python library for elegant data visualization', - author='Jian Shi', - license='GPL v3.0', - url='https://github.com/jsh9/python-plot-utils', - packages = ['plot_utils'], - classifiers = [ - 'Intended Audience :: Science/Research', - 'Topic :: Scientific/Engineering :: Visualization', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - ], - install_requires=[ - 'numpy>=1.11.0', - 'scipy>=0.19.0', - 'pandas>=0.17.1', - 'cycler>=0.10.0', - 'matplotlib', - ], - python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', - include_package_data=True, -) + +setup()