Skip to content

Commit 4f183ef

Browse files
authored
Convert to using pyproject.toml (#1)
1 parent 0ef3b8b commit 4f183ef

File tree

2 files changed

+46
-38
lines changed

2 files changed

+46
-38
lines changed

pyproject.toml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[build-system]
2+
requires = ["setuptools >= 61.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools]
6+
packages = ["quarto_cli"]
7+
8+
[project]
9+
name = "quarto-cli"
10+
description = "Open-source scientific and technical publishing system built on Pandoc."
11+
authors = [
12+
{name = "Charles Teague"},
13+
{name = "Carlos Scheidegger"},
14+
]
15+
dynamic = ["version"]
16+
readme = "README.md"
17+
license = {file = "LICENSE"}
18+
classifiers = [
19+
'Development Status :: 5 - Production/Stable',
20+
'Intended Audience :: Developers',
21+
'Intended Audience :: End Users/Desktop',
22+
'Intended Audience :: Information Technology',
23+
'Intended Audience :: Science/Research',
24+
'License :: OSI Approved :: MIT License',
25+
'Operating System :: MacOS :: MacOS X',
26+
'Operating System :: Microsoft :: Windows',
27+
'Operating System :: POSIX :: Linux',
28+
'Programming Language :: Python :: 3.7',
29+
'Programming Language :: Python :: 3.8',
30+
'Programming Language :: Python :: 3.9',
31+
'Programming Language :: Python :: 3.10',
32+
'Programming Language :: Python :: 3.11',
33+
'Programming Language :: Python :: 3.12',
34+
]
35+
dependencies = [
36+
'jupyter',
37+
'nbclient',
38+
'wheel'
39+
]
40+
41+
[project.urls]
42+
Homepage="https://www.quarto.org"
43+
Source="https://www.github.com/quarto-dev/quarto-cli"
44+
45+
[project.scripts]
46+
quarto = "quarto_cli.quarto:run"

setup.py

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -99,40 +99,7 @@ def no_compile(self, file_path):
9999
long_description = (this_directory / "README.md").read_text()
100100

101101
setup(
102-
name='quarto-cli',
103102
version=version,
104-
description='Open-source scientific and technical publishing system built on Pandoc.',
105-
long_description=long_description,
106-
long_description_content_type='text/markdown',
107-
author='Quarto Team, Posit PBC, and other contributors',
108-
license='MIT',
109-
project_urls = {
110-
'Homepage': 'https://www.quarto.org',
111-
'Source': 'https://www.github.com/quarto-dev/quarto-cli'
112-
},
113-
classifiers = [
114-
'Development Status :: 5 - Production/Stable',
115-
'Intended Audience :: Developers',
116-
'Intended Audience :: End Users/Desktop',
117-
'Intended Audience :: Information Technology',
118-
'Intended Audience :: Science/Research',
119-
'License :: OSI Approved :: MIT License',
120-
'Operating System :: MacOS :: MacOS X',
121-
'Operating System :: Microsoft :: Windows',
122-
'Operating System :: POSIX :: Linux',
123-
'Programming Language :: Python :: 3.7',
124-
'Programming Language :: Python :: 3.8',
125-
'Programming Language :: Python :: 3.9',
126-
'Programming Language :: Python :: 3.10',
127-
'Programming Language :: Python :: 3.11',
128-
'Programming Language :: Python :: 3.12',
129-
],
130-
packages=['quarto_cli'],
131-
entry_points={
132-
'console_scripts': [
133-
'quarto = quarto_cli.quarto:run',
134-
],
135-
},
136103
package_data={
137104
'': ['version.txt'],
138105
'quarto_cli': quarto_data
@@ -141,9 +108,4 @@ def no_compile(self, file_path):
141108
cmdclass={
142109
'build_py': CustomBuild,
143110
},
144-
install_requires=[
145-
'jupyter',
146-
'nbclient',
147-
'wheel',
148-
],
149111
)

0 commit comments

Comments
 (0)