Skip to content

Commit

Permalink
Update dependences and add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricrupb committed Jan 14, 2025
1 parent 21180d8 commit e8c6a8f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 3 deletions.
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "code_diff"
version = "v0.1.3"
description = "Fast AST based code differencing in Python"
readme = "README.md"
requires-python = ">= 3.8"
license = { file = "LICENSE.txt" }
keywords = ["code", "differencing", "AST", "CST", "program", "language processing"]

authors = [{name = "Cedric Richter", email = "[email protected]"}]
maintainers = [{name = "Cedric Richter", email = "[email protected]"}]

classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
]

dependencies = ["code_tokenize", "apted"]

[project.urls]
"Homepage" = "https://github.com/cedricrupb/code_diff"
"Bug Reports" = "https://github.com/cedricrupb/code_diff/issues"
"Source" = "https://github.com/cedricrupb/code_diff"
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
setup(
name = 'code_diff',
packages = ['code_diff', 'code_diff.gumtree'],
version = '0.1.2',
version = '0.1.3',
license='MIT',
description = 'Fast AST based code differencing in Python',
long_description = long_description,
long_description_content_type="text/markdown",
author = 'Cedric Richter',
author_email = '[email protected]',
url = 'https://github.com/cedricrupb/code_diff',
download_url = 'https://github.com/cedricrupb/code_diff/archive/refs/tags/v0.1.2.tar.gz',
download_url = 'https://github.com/cedricrupb/code_diff/archive/refs/tags/v0.1.3.tar.gz',
keywords = ['code', 'differencing', 'AST', 'program', 'language processing'],
install_requires=[
'code-tokenize',
'code-tokenize>=0.2.1',
'apted'
],
classifiers=[
Expand All @@ -30,5 +30,9 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
],
)

0 comments on commit e8c6a8f

Please sign in to comment.