Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SilasK/statsplot
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasK committed Sep 11, 2023
2 parents e32286b + 01d49a9 commit 558c40f
Show file tree
Hide file tree
Showing 9 changed files with 3,002 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
statsplot/_version.py export-subst
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ A package that allows you easily to calculate and plot statistics.




>
<!--
Expand Down Expand Up @@ -44,5 +43,6 @@ pip install --editable .
```


See the [Example](https://github.com/SilasK/statsplot/blob/master/example.ipynb) or run it on [Colab](https://colab.research.google.com/github/SilasK/statsplot/blob/master/example.ipynb)

1 change: 0 additions & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
.
- name: Publish package to TestPyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[versioneer]
VCS = git
style = pep440
versionfile_source = statsplot/_version.py
versionfile_build = statsplot/_version.py
tag_prefix =
parentdir_prefix = statsplot-
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import re
import setuptools
import versioneer

NAME = "statsplot"
AUTHOR = "Silas Kieser"
Expand All @@ -23,16 +24,14 @@ def read(file):
return fh.read()


VERSION = re.search(
r'__version__ = [\'"]([^\'"]*)[\'"]', read(NAME.replace("-", "_") + "/__init__.py")
).group(1)

LONG_DESCRIPTION = read(README)

if __name__ == "__main__":
setuptools.setup(
name=NAME,
version=VERSION,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=setuptools.find_packages(),
author=AUTHOR,
description=DESCRIPTION,
Expand Down
4 changes: 3 additions & 1 deletion statsplot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
__version__ = "0.3.0"

from .statstable import StatsTable, MetaTable
from .plot import statsplot, vulcanoplot
from .stats import calculate_stats
from .dimred import DimRed

from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit 558c40f

Please sign in to comment.