-
-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (20 loc) · 675 Bytes
/
setup.py
File metadata and controls
27 lines (20 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env python
import sys
from pathlib import Path
from pkg_resources import VersionConflict, require
from setuptools import setup
SETUPTOOLS_VER = "30.5.0" # Minimum version that supports pyproject.toml
try:
require(f"setuptools>={SETUPTOOLS_VER}")
except VersionConflict:
sys.exit(f"Error: version of setuptools is too old (<{SETUPTOOLS_VER})!")
__author__ = "Parag Baxi <parag.baxi@gmail.com>"
__copyright__ = "Copyright 2011-2018, Parag Baxi"
__license__ = "BSD-new"
# Make pyflakes happy.
__pkgname__ = None
__version__ = None
exec(Path("qualysapi/version.py").read_text())
setup(
name=__pkgname__, version=__version__, license=__license__,
)