Skip to content

Commit 1a3be36

Browse files
committed
Move project metadata to pyproject.toml
1 parent eaba411 commit 1a3be36

File tree

2 files changed

+41
-25
lines changed

2 files changed

+41
-25
lines changed

pyproject.toml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[project]
2+
name = 'ropemode'
3+
description = 'a helper for using rope refactoring library in IDEs'
4+
classifiers = [
5+
'Development Status :: 4 - Beta',
6+
'Operating System :: OS Independent',
7+
'Environment :: X11 Applications',
8+
'Environment :: Win32 (MS Windows)',
9+
'Environment :: MacOS X',
10+
'Intended Audience :: Developers',
11+
'License :: OSI Approved :: GNU General Public License (GPL)',
12+
'Natural Language :: English',
13+
'Programming Language :: Python',
14+
'Topic :: Software Development',
15+
]
16+
version = '0.5'
17+
dependencies = ['rope >= 0.9.4']
18+
19+
[[project.authors]]
20+
name = 'Lie Ryan'
21+
email = 'lieryan.24@proton.me'
22+
23+
[project.license]
24+
text = 'GNU GPL'
25+
26+
[project.urls]
27+
Source = 'https://github.com/python-rope/ropemode'
28+
29+
[project.optional-dependencies]
30+
dev = [
31+
'build>=0.7.0',
32+
]
33+
34+
[build-system]
35+
requires = [
36+
'setuptools',
37+
'setuptools-scm',
38+
]
39+
build-backend = 'setuptools.build_meta'

setup.py

+2-25
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
1-
from setuptools import find_packages, setup
1+
from setuptools import setup
22

3-
setup(
4-
name="ropemode",
5-
version="0.5",
6-
description="a helper for using rope refactoring library in IDEs",
7-
author="Ali Gholami Rudi",
8-
author_email="aligrudi@users.sourceforge.net",
9-
url="https://github.com/python-rope/ropemode",
10-
package_dir={"": "src"},
11-
packages=find_packages(where="src"),
12-
license="GNU GPL",
13-
classifiers=[
14-
"Development Status :: 4 - Beta",
15-
"Operating System :: OS Independent",
16-
"Environment :: X11 Applications",
17-
"Environment :: Win32 (MS Windows)",
18-
"Environment :: MacOS X",
19-
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: GNU General Public License (GPL)",
21-
"Natural Language :: English",
22-
"Programming Language :: Python",
23-
"Topic :: Software Development",
24-
],
25-
install_requires=["rope >= 0.9.4"],
26-
)
3+
setup()

0 commit comments

Comments
 (0)