From bb6571a8dca81df15e33c7aa75dc87f3d076ae25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 4 Jun 2021 17:51:15 +0200 Subject: [PATCH] move package list to setup.cfg --- setup.cfg | 24 +++++++++++++++--------- setup.py | 7 ++----- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/setup.cfg b/setup.cfg index 0d74e0c7..0b0899d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,19 +27,16 @@ classifier = License :: OSI Approved :: MIT License Topic :: Software Development :: Libraries -[pycodestyle] -max-line-length = 100 - -[pep8] -max-line-length = 100 - -[bdist_wheel] -universal = 1 - [options] install_requires = psutil python_requires = !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.* +package_dir= + =satella +packages=find: + +[options.packages.find] +where=satella [options.extras_require] HTTPJSONSource = requests @@ -48,3 +45,12 @@ TOMLSource = toml FasterJSON = ujson cassandra = cassandra-driver opentracing = opentracing + +[pycodestyle] +max-line-length = 100 + +[pep8] +max-line-length = 100 + +[bdist_wheel] +universal = 1 diff --git a/setup.py b/setup.py index d80c71cd..905f3b03 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,5 @@ -from setuptools import setup, find_packages +from setuptools import setup from satella import __version__ -setup(packages=find_packages(include=['satella', 'satella.*']), - version=__version__, - test_suite='nose2.collector.collector' - ) +setup(version=__version__) -- GitLab