Skip to content

Commit 85dfa0f

Browse files
committed
Use static setuptools config
1 parent c86c3e6 commit 85dfa0f

File tree

2 files changed

+38
-46
lines changed

2 files changed

+38
-46
lines changed

setup.cfg

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[metadata]
2+
name = jupyter_spaces
3+
version = 0.2.0
4+
author = Davide Sarra
5+
description = Create parallel namespaces in Jupyter Notebooks
6+
long_description = file: README.md
7+
long_description_content_type = text/markdown
8+
keywords =
9+
jupyter
10+
ipython
11+
magic
12+
extension
13+
namespace
14+
url = https://github.com/davidesarra/jupyter_spaces
15+
license = MIT
16+
license_files =
17+
LICENSE.txt
18+
classifiers =
19+
Environment :: Console
20+
Framework :: IPython
21+
Framework :: Jupyter
22+
Intended Audience :: Developers
23+
Intended Audience :: Science/Research
24+
License :: OSI Approved :: MIT License
25+
Operating System :: OS Independent
26+
Programming Language :: Python :: 3
27+
Programming Language :: Python :: 3.5
28+
Programming Language :: Python :: 3.6
29+
Programming Language :: Python :: 3.7
30+
Programming Language :: Python :: 3.8
31+
32+
[options]
33+
packages = jupyter_spaces
34+
python_requires = ~=3.5
35+
install_requires =
36+
ipython>=5.0.0

setup.py

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,4 @@
11
#!/usr/bin/env python
2-
from setuptools import find_packages, setup
2+
from setuptools import setup
33

4-
NAME = "jupyter_spaces"
5-
VERSION = "0.2.0"
6-
AUTHOR = "Davide Sarra"
7-
URL = "https://github.com/davidesarra/jupyter_spaces"
8-
DESCRIPTION = "Create parallel namespaces in Jupyter Notebooks"
9-
LICENSE = "MIT"
10-
CLASSIFIERS = [
11-
"Environment :: Console",
12-
"Framework :: IPython",
13-
"Framework :: Jupyter",
14-
"Intended Audience :: Developers",
15-
"Intended Audience :: Science/Research",
16-
"License :: OSI Approved :: MIT License",
17-
"Operating System :: OS Independent",
18-
"Programming Language :: Python :: 3",
19-
"Programming Language :: Python :: 3.5",
20-
"Programming Language :: Python :: 3.6",
21-
"Programming Language :: Python :: 3.7",
22-
"Programming Language :: Python :: 3.8",
23-
]
24-
KEYWORDS = "jupyter ipython magic extension namespace"
25-
26-
with open("README.md", "r") as f:
27-
LONG_DESCRIPTION = f.read()
28-
29-
REQUIREMENTS = [
30-
"ipython>=5.0.0",
31-
]
32-
33-
if __name__ == "__main__":
34-
setup(
35-
name=NAME,
36-
version=VERSION,
37-
author=AUTHOR,
38-
url=URL,
39-
license=LICENSE,
40-
classifiers=CLASSIFIERS,
41-
keywords=KEYWORDS,
42-
description=DESCRIPTION,
43-
long_description=LONG_DESCRIPTION,
44-
long_description_content_type="text/markdown",
45-
packages=find_packages(exclude=["tests"]),
46-
install_requires=REQUIREMENTS,
47-
python_requires="~=3.5",
48-
)
4+
setup()

0 commit comments

Comments
 (0)