forked from biopython/biopython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
19 lines (14 loc) · 681 Bytes
/
setup.py
File metadata and controls
19 lines (14 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python
"""Freely available tools for computational molecular biology."""
from setuptools import setup
import sys
import warnings
_DEPRECATION_MESSAGE = (
"Invoking setup.py is deprecated and will be removed in a future release of Biopython.\n"
"Please use `pip install` or `python -m build` instead of `python setup.py` commands.\n"
"For further information see https://packaging.python.org/en/latest/discussions/setup-py-deprecated/\n"
)
setup()
warnings.simplefilter("always", DeprecationWarning)
warnings.warn(_DEPRECATION_MESSAGE, category=DeprecationWarning, stacklevel=1)
print("DEPRECATION WARNING: " + _DEPRECATION_MESSAGE, file=sys.stderr)