Skip to content

Commit

Permalink
fix data package issue for pypi; remove old readme. (#78)
Browse files Browse the repository at this point in the history
* add sas2nb for binder and SO question

* bump version 2.4.4 after merge

* add iris.sas test file

* change github workflow to not upload wheel.

* workaround binder wheel install issue.

* fix data packaging for pypi

* bump version
  • Loading branch information
jld23 authored May 7, 2021
1 parent 66541c2 commit c187ae4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 195 deletions.
91 changes: 0 additions & 91 deletions README.rst

This file was deleted.

85 changes: 0 additions & 85 deletions sas_kernel/Readme.md

This file was deleted.

2 changes: 1 addition & 1 deletion sas_kernel/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = '2.4.7'
__version__ = '2.4.9'
12 changes: 5 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[metadata]
description = A SAS kernel for Jupyter
# description_file = file: README.md
long_description = README.md
long_description = file: Readme.md
long_description_content_type = text/markdown
author = Jared Dean
license = Apache Software License
license_file = LICENSE.txt
license_files = LICENSE.txt
author_email [email protected]
url = https://github.com/sassoftware/sas_kernel

Expand All @@ -17,6 +17,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Intended Audience :: Science/Research
Intended Audience :: Developers
Operating System :: OS Independent
Expand All @@ -35,12 +36,9 @@ setup_requires =
jupyter_client >= 6
ipython >= 7

# include_package_data = True

[options.extras_require]
jlab_ext =
jupyterlab >=3
jlab_create_sas_file
sas2nb
# sas_log_viewer_v2
# sas2nb

22 changes: 11 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
from distutils.command.install import install
import sys
import os
from setuptools import setup, find_packages
exec(open('./sas_kernel/version.py').read())
print("Installing sas_kernel version:{}".format(__version__))

import os
import sys
from sas_kernel.version import __version__

SVEM_FLAG = '--single-version-externally-managed'
if SVEM_FLAG in sys.argv:
sys.argv.remove(SVEM_FLAG)
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
sys.argv.remove(svem_flag)


class InstallWithKernelspec(install):
Expand All @@ -38,10 +39,9 @@ def run(self):
# If the NO_KERNEL_INSTALL env variable is set then skip the kernel installation.
return
else:
import sas_kernel.install as kernel_install
from sas_kernel import install as kernel_install
kernel_install.main(argv=sys.argv)


setup(name='SAS_kernel',
version=__version__,
packages=find_packages(),
Expand Down

0 comments on commit c187ae4

Please sign in to comment.