8000 fix install; version; github actions; bump version · sassoftware/sas_kernel@3b3de2c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b3de2c

Browse files
author
Jared Dean
committed
fix install; version; github actions; bump version
1 parent aa7b0b0 commit 3b3de2c

File tree

8 files changed

+20
-21
lines changed

8 files changed

+20
-21
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will upload a Python Package using Twine when a release is created
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: Publish Python 🐍 Package 📦 to TestPyPI
4+
name: Publish Package to TestPyPI
55

66
on: push
77

.github/workflows/python-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# This workflow will upload a Python Package using Twine when a release is created
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: Publish Python 🐍 Package 📦 to PyPI
4+
name: Publish Package to PyPI
55

66
on:
77
release:
88
types: [created]
99

10+
workflow_dispatch:
11+
1012
jobs:
1113
deploy:
1214

@@ -24,7 +26,6 @@ jobs:
2426
pip install setuptools wheel twine
25 8000 27
- name: Build and publish
2628
env:
27-
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2829
TWINE_USERNAME: __token__
2930
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3031
run: |

binder/postBuild

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ mkdir -p ~/.config/saspy/
2121
cp ./binder/sascfg_personal.py ~/.config/saspy/
2222

2323
#set -ex
24-
# jupyter kernelspec list
25-
# jupyter nbextension list
24+
jupyter kernelspec list
25+
jupyter nbextension list
2626

2727

28-
# jupyter nbextension install --py sas_kernel.showSASLog --user
29-
# jupyter nbextension enable sas_kernel.showSASLog --py
28+
jupyter nbextension install --py sas_kernel.showSASLog --user
29+
jupyter nbextension enable sas_kernel.showSASLog --py
3030

31-
# jupyter nbextension install --py sas_kernel.theme --user
32-
# jupyter nbextension enable sas_kernel.theme --py
31+
jupyter nbextension install --py sas_kernel.theme --user
32+
jupyter nbextension enable sas_kernel.theme --py
3333

34-
# jupyter nbextension list
34+
jupyter nbextension list

sas_kernel/kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from typing import Tuple
2727
from IPython.display import HTML
2828
from metakernel import MetaKernel
29-
from ._version import __version__
29+
from .version import __version__
3030

3131

3232
# create a LOGGER to output messages to the Jupyter CONSOLE

sas_kernel/showSASLog/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
# from .sas_kernel import __version__
16+
1717

1818
def _jupyter_nbextension_paths():
1919
return [dict(section="notebook",

sas_kernel/theme/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
"""SAS Kernel Juypter Implementation"""
1716

18-
# from .sas_kernel import __version__
1917

2018
def _jupyter_nbextension_paths():
2119
return [dict(section="notebook", src="", dest="theme", require="theme/theme_selector")]

sas_kernel/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515
#
1616

17-
__version__ = '2.4.2'
17+
__version__ = '2.4.3'

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515
# limitations under the License.
1616
#
1717

18+
import sys
19+
import os
20+
from distutils.command.install import install
1821
exec(open('./sas_kernel/version.py').read())
1922
print("Installing sas_kernel version:{}".format(__version__))
2023
try:
2124
from setuptools import setup, find_packages
2225
except ImportError:
2326
from distutils.core import setup, find_packages
24-
from distutils.command.install import install
2527

26-
import os, sys
27-
28-
# from sas_kernel._version import __version__
2928

3029
SVEM_FLAG = '--single-version-externally-managed'
3130
if SVEM_FLAG in sys.argv:
3231
sys.argv.remove(SVEM_FLAG)
3332

33+
3434
class InstallWithKernelspec(install):
3535
def run(self):
3636
# Regular installation
@@ -61,8 +61,8 @@ def run(self):
6161
"jupyter_client>=6", "IPython>=7.12.0"],
6262
setup_requires=["jupyter_client>=6", "IPython>=7.12.0"],
6363
extras_require={'jlab_ext': ['jupyterlab >=3 ',
64-
# 'sas2nb',
65-
# 'sas_log_viewer_v2',
64+
# 'sas2nb',
65+
# 'sas_log_viewer_v2',
6666
'jlab_create_sas_file'
6767
]},
6868
classifiers=['Framework :: IPython',

0 commit comments

Comments
 (0)
0