Skip to content

Commit e8c6a8f

Browse files
committed
Update dependences and add pyproject.toml
1 parent 21180d8 commit e8c6a8f

File tree

2 files changed

+46
-3
lines changed

2 files changed

+46
-3
lines changed

pyproject.toml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "code_diff"
7+
version = "v0.1.3"
8+
description = "Fast AST based code differencing in Python"
9+
readme = "README.md"
10+
requires-python = ">= 3.8"
11+
license = { file = "LICENSE.txt" }
12+
keywords = ["code", "differencing", "AST", "CST", "program", "language processing"]
13+
14+
authors = [{name = "Cedric Richter", email = "[email protected]"}]
15+
maintainers = [{name = "Cedric Richter", email = "[email protected]"}]
16+
17+
classifiers = [
18+
"Development Status :: 3 - Alpha",
19+
"Intended Audience :: Developers",
20+
"Topic :: Software Development :: Build Tools",
21+
"License :: OSI Approved :: MIT License",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.6",
24+
"Programming Language :: Python :: 3.7",
25+
"Programming Language :: Python :: 3.8",
26+
"Programming Language :: Python :: 3.9",
27+
"Programming Language :: Python :: 3.10",
28+
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: 3 :: Only",
32+
]
33+
34+
dependencies = ["code_tokenize", "apted"]
35+
36+
[project.urls]
37+
"Homepage" = "https://github.com/cedricrupb/code_diff"
38+
"Bug Reports" = "https://github.com/cedricrupb/code_diff/issues"
39+
"Source" = "https://github.com/cedricrupb/code_diff"

setup.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
setup(
77
name = 'code_diff',
88
packages = ['code_diff', 'code_diff.gumtree'],
9-
version = '0.1.2',
9+
version = '0.1.3',
1010
license='MIT',
1111
description = 'Fast AST based code differencing in Python',
1212
long_description = long_description,
1313
long_description_content_type="text/markdown",
1414
author = 'Cedric Richter',
1515
author_email = '[email protected]',
1616
url = 'https://github.com/cedricrupb/code_diff',
17-
download_url = 'https://github.com/cedricrupb/code_diff/archive/refs/tags/v0.1.2.tar.gz',
17+
download_url = 'https://github.com/cedricrupb/code_diff/archive/refs/tags/v0.1.3.tar.gz',
1818
keywords = ['code', 'differencing', 'AST', 'program', 'language processing'],
1919
install_requires=[
20-
'code-tokenize',
20+
'code-tokenize>=0.2.1',
2121
'apted'
2222
],
2323
classifiers=[
@@ -30,5 +30,9 @@
3030
'Programming Language :: Python :: 3.7',
3131
'Programming Language :: Python :: 3.8',
3232
'Programming Language :: Python :: 3.9',
33+
'Programming Language :: Python :: 3.10',
34+
'Programming Language :: Python :: 3.11',
35+
'Programming Language :: Python :: 3.12',
36+
'Programming Language :: Python :: 3.13',
3337
],
3438
)

0 commit comments

Comments
 (0)