Skip to content

Commit 99adcdc

Browse files
committed
BLD: Start simplifying setup
Start simplifying setup
1 parent 8e19500 commit 99adcdc

File tree

11 files changed

+2594
-559
lines changed

11 files changed

+2594
-559
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
* text=auto
22

3+
statsmodels/_version.py export-subst

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ include cythonize.dat
3232
prune */__pycache__
3333

3434
global-exclude *~ *.swp *.pyc *.pyo *.bak
35+
include versioneer.py
36+
include statsmodels/_version.py

docs/source/conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767
# |version| and |release|, also used in various other places throughout the
6868
# built documents.
6969
#
70-
from statsmodels.version import short_version, full_version
71-
release = short_version
70+
from statsmodels import __version__
71+
release = __version__
7272
# The full version, including dev tag.
73-
version = full_version
73+
version = __version__
7474

7575
# set inheritance_graph_attrs
7676
# you need graphviz installed to use this

setup.cfg

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ filterwarnings =
66
ignore:Using a non-tuple:FutureWarning:scipy.signal
77
ignore:Using a non-tuple:FutureWarning:scipy.stats.stats
88

9+
10+
[versioneer]
11+
VCS = git
12+
style = pep440
13+
versionfile_source = statsmodels/_version.py
14+
versionfile_build = statsmodels/_version.py
15+
tag_prefix = v
16+
parentdir_prefix = statsmodels-
17+
18+
919
[flake8]
1020
exclude=.git,build,docs
1121
select=

0 commit comments

Comments
 (0)