Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Fix building wheel and tarball with the latest setuptools version #377

Merged
merged 1 commit into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ recursive-include spyder_notebook/utils/templates *.html
recursive-include spyder_notebook/server *.css *.html
recursive-include spyder_notebook/server/build *.js *.eot *.woff *.woff2 *.svg *.ttf
prune spyder_notebook/server/node_modules
prune doc
prune .github
prune requirements
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ You can ask your questions at the [Spyder group](https://groups.google.com/forum
or create a issue in this repo. We will be more than glad to answer.

## Overview
![example](/doc/example.gif)
![example](https://raw.githubusercontent.com/spyder-ide/spyder-notebook/master/doc/example.gif)

## Sponsors

Expand Down
8 changes: 6 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ To release a new version of Spyder notebook on PyPI:

* git add . && git commit -m 'Release X.X.X'

* python setup.py sdist upload
* python setup.py sdist

* python setup.py bdist_wheel upload
* python setup.py bdist_wheel

* twine check dist/*

* twine upload dist/*

* git tag -a vX.X.X -m 'Release X.X.X'

Expand Down
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys

# Third party imports
from setuptools import find_packages, setup
from setuptools import find_namespace_packages, setup
from setuptools.command.sdist import sdist

if sys.platform == 'win32':
Expand Down Expand Up @@ -83,6 +83,10 @@ def run(self):
]


with open('README.md', 'r') as f:
DESCRIPTION = f.read()


setup(
name='spyder-notebook',
version=get_version(),
Expand All @@ -93,9 +97,9 @@ def run(self):
license='MIT',
author='Spyder Development Team',
description='Jupyter notebook integration with Spyder',
long_description="This package allows the Jupyter notebook "
"to run inside Spyder as a plugin.",
packages=find_packages(),
long_description=DESCRIPTION,
long_description_content_type='text/markdown',
packages=find_namespace_packages(),
install_requires=REQUIREMENTS,
include_package_data=True,
classifiers=[
Expand Down