summaryrefslogtreecommitdiff
path: root/networkx/__init__.py
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2021-01-03 19:48:02 -0800
committerGitHub <noreply@github.com>2021-01-03 19:48:02 -0800
commit2a4134001a80d92ce6c1fc67e324da1fa84c0083 (patch)
tree5b92c292cf56a042967da674a6faa37f8aea8e6b /networkx/__init__.py
parent2ffd021df086ce14656650cbab96aa666b0de19e (diff)
downloadnetworkx-2a4134001a80d92ce6c1fc67e324da1fa84c0083.tar.gz
Simplify version information (#4492)
Diffstat (limited to 'networkx/__init__.py')
-rw-r--r--networkx/__init__.py32
1 files changed, 1 insertions, 31 deletions
diff --git a/networkx/__init__.py b/networkx/__init__.py
index 9d3e57cb..bd1e05a9 100644
--- a/networkx/__init__.py
+++ b/networkx/__init__.py
@@ -8,37 +8,7 @@ structure, dynamics, and functions of complex networks.
See https://networkx.org for complete documentation.
"""
-import sys
-
-if sys.version_info[:2] < (3, 7):
- m = "Python 3.7 or later is required for NetworkX (%d.%d detected)."
- raise ImportError(m % sys.version_info[:2])
-del sys
-
-# Release data
-from networkx import release
-
-
-__author__ = (
- f"{release.authors['Hagberg'][0]} <{release.authors['Hagberg'][1]}>\n"
- f"{release.authors['Schult'][0]} <{release.authors['Schult'][1]}>\n"
- f"{release.authors['Swart'][0]} <{release.authors['Swart'][1]}>"
-)
-
-__date__ = release.date
-__version__ = release.version
-
-__bibtex__ = """@inproceedings{hagberg-2008-exploring,
-author = {Aric A. Hagberg and Daniel A. Schult and Pieter J. Swart},
-title = {Exploring network structure, dynamics, and function using {NetworkX}},
-year = {2008},
-month = Aug,
-urlpdf = {http://math.lanl.gov/~hagberg/Papers/hagberg-2008-exploring.pdf},
-booktitle = {Proceedings of the 7th Python in Science Conference (SciPy2008)},
-editors = {G\"{a}el Varoquaux, Travis Vaught, and Jarrod Millman},
-address = {Pasadena, CA USA},
-pages = {11--15}
-}"""
+__version__ = "2.6rc1.dev0"
# These are import orderwise
from networkx.exception import *