Skip to content

Commit

Permalink
several small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkokotila committed Apr 20, 2024
1 parent 7bb8d29 commit 0df4656
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install hatch
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
hatch build
hatch publish --user __token__ --auth $PYPI_API_TOKEN
2 changes: 2 additions & 0 deletions astetik/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@
del utils
except:
pass

__VERSION__ = '1.15'
2 changes: 1 addition & 1 deletion astetik/plots/kde.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def kde(data,
params()['fig_height']))

p = sns.kdeplot(data=data[x],
data2=data2,
y=data2,
shade=True,
cut=5,
shade_lowest=False,
Expand Down
Binary file added dist/astetik-1.14-py2.py3-none-any.whl
Binary file not shown.
Binary file added dist/astetik-1.14.tar.gz
Binary file not shown.
Binary file added dist/astetik-1.15-py2.py3-none-any.whl
Binary file not shown.
Binary file added dist/astetik-1.15.tar.gz
Binary file not shown.
52 changes: 52 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "astetik"
dynamic = ["version"]
description = "Astetik data visualization and reporting library"
readme = "README.md"
license = "MIT"
authors = [
{ name = "Mikko Kotila", email = "[email protected]" },
]
maintainers = [
{ name = "Mikko Kotila", email = "[email protected]" },
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"geonamescache",
"IPython",
"numpy",
"pandas",
"patsy",
"scikit-learn",
"seaborn",
"statsmodels",
"wrangle",
]

[project.urls]
Download = "https://github.com/mikkokotila/pretty"
Homepage = "http://mikkokotila.com"

[tool.hatch.version]
path = "astetik/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/astetik",
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
URL = 'http://mikkokotila.com'
LICENSE = 'MIT'
DOWNLOAD_URL = 'https://github.com/mikkokotila/pretty'
VERSION = '1.13'
VERSION = '1.14'

try:
from setuptools import setup
Expand Down

0 comments on commit 0df4656

Please sign in to comment.