Skip to content

Commit

Permalink
Updated installation to Hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
AryazE committed Jun 1, 2023
1 parent c4ab0d1 commit 9f121fe
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 14 deletions.
Binary file removed dist/dynapyt-0.0.1-py3.7.egg
Binary file not shown.
Binary file removed dist/dynapyt-0.0.1-py3.9.egg
Binary file not shown.
43 changes: 36 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,43 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "dynapyt"
authors = [{name = "Aryaz Eghbali", email = "[email protected]"}, {name = "Michael Pradel", email = "[email protected]"}]
dynamic = ["version"]
description = "Dynamic analysis framework for Python"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
license = ""
requires-python = ">=3.6"
authors = [
{ name = "Aryaz Eghbali", email = "[email protected]" },
{ name = "Michael Pradel", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"libcst",
]

[project.urls]
Home = "https://github.com/sola-st/dynapyt"
"Bug Tracker" = "https://github.com/sola-st/DynaPyt/issues"
Homepage = "https://github.com/sola-st/DynaPyt"

[tool.hatch.version]
path = "src/dynapyt/__init__.py"

[tool.hatch.build.targets.wheel]
packages = [
"src/dynapyt",
]

[tool.hatch.build.targets.wheel.force-include]
"src/dynapyt/utils/hierarchy.json" = "src/dynapyt/utils/hierarchy.json"

[tool.hatch.build.targets.sdist]
include = [
"/src",
]
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ pytest-forked==1.4.0
pytest-xdist==2.5.0
typing-inspect==0.7.1
typing_extensions==4.1.1
zipp==3.6.0
libcst==0.4.1
zipp==3.6.0
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="dynapyt",
version="0.2.2",
version="0.2.3",
author="Aryaz Eghbali",
author_email="[email protected]",
description="Dynamic analysis framework for Python",
Expand All @@ -23,14 +23,14 @@
package_dir={"": "src", "test": "test"},
packages=setuptools.find_packages(where="src"),
package_data={
'dynapyt': ['utils/hierarchy.json'],
"dynapyt": ["utils/hierarchy.json"],
},
include_package_data=True,
python_requires=">=3.6",
setup_requires=[
'libcst',
"libcst",
],
install_requires=[
'libcst',
"libcst",
],
)
2 changes: 1 addition & 1 deletion src/dynapyt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""DynaPyt"""
__version__ = '0.2.2'
__version__ = "0.2.3"

1 comment on commit 9f121fe

@AryazE
Copy link
Collaborator Author

@AryazE AryazE commented on 9f121fe Jun 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addresses #13 and #25

Please sign in to comment.