Skip to content

Commit

Permalink
Simplify setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Apr 29, 2023
1 parent 9e56dfc commit 24f98df
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,10 @@

"""Setup Script for DBUtils"""

import warnings

try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import version_info

py_version = version_info[:2]
if not (3, 6) <= py_version < (4, 0):
raise ImportError(
'Python {}.{} is not supported by DBUtils.'.format(*py_version))

warnings.filterwarnings('ignore', 'Unknown distribution option')

__version__ = '3.1.0b1'

Expand Down Expand Up @@ -60,6 +50,7 @@
platforms=['any'],
license='MIT License',
packages=['dbutils'],
python_requires='>3.7',
extras_require={
"pg": ["PyGreSQL>=5"]
},
Expand Down

0 comments on commit 24f98df

Please sign in to comment.