Skip to content

Commit 02ebe2a

Browse files
authored
Merge pull request #346 from ligangty/main
cherry-pick from 1.3.x
2 parents ce29856 + 8ad7932 commit 02ebe2a

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

MANIFEST.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include LICENSE
2+
include README.md
3+
include pyproject.toml
4+
include setup.py
5+
recursive-include charon *.py *.json
6+
recursive-include tests *.py *.txt *.tgz *.zip *.json *.sha1
7+
exclude .github .gitignore
8+

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ authors = [
1010
]
1111
readme = "README.md"
1212
keywords = ["charon", "mrrc", "maven", "npm", "build", "java"]
13-
license-files = ["LICENSE"]
13+
license = "Apache-2.0"
1414
requires-python = ">=3.9"
1515
classifiers = [
1616
"Development Status :: 1 - Planning",
1717
"Intended Audience :: Developers",
18-
"License :: OSI Approved :: Apache Software License",
1918
"Topic :: Software Development :: Build Tools",
2019
"Topic :: Utilities",
2120
"Programming Language :: Python :: 3 :: Only",
@@ -63,8 +62,8 @@ test = [
6362
[project.scripts]
6463
charon = "charon.cmd:cli"
6564

66-
[tool.setuptools]
67-
packages = ["charon"]
65+
[tool.setuptools.packages.find]
66+
include = ["charon*"]
6867

6968
[tool.setuptools_scm]
7069
fallback_version = "1.3.4+dev.fallback"

setup.py

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,33 +32,28 @@
3232
classifiers=[
3333
"Development Status :: 1 - Planning",
3434
"Intended Audience :: Developers",
35-
"License :: OSI Approved :: Apache Software License",
3635
"Programming Language :: Python :: 3",
3736
"Topic :: Software Development :: Build Tools",
3837
"Topic :: Utilities",
3938
],
4039
keywords="charon mrrc maven npm build java",
4140
author="RedHat EXD SPMM",
42-
license="APLv2",
4341
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
4442
package_data={'charon': ['schemas/*.json']},
45-
test_suite="tests",
4643
entry_points={
4744
"console_scripts": ["charon = charon.cmd:cli"],
4845
},
49-
install_requires=[
50-
"Jinja2>=3.1.3",
51-
"boto3>=1.18.35",
52-
"botocore>=1.21.35",
53-
"click>=8.1.3",
54-
"requests>=2.25.0",
55-
"PyYAML>=5.4.1",
56-
"defusedxml>=0.7.1",
57-
"subresource-integrity>=0.2",
58-
"jsonschema>=4.9.1",
59-
"urllib3>=1.25.10",
60-
"semantic-version>=2.10.0",
61-
"oras<=0.2.31",
62-
"python-qpid-proton>=0.39.0"
63-
],
46+
# install_requires=[
47+
# "Jinja2>=3.1.3",
48+
# "boto3>=1.18.35",
49+
# "botocore>=1.21.35",
50+
# "click>=8.1.3",
51+
# "requests>=2.25.0",
52+
# "PyYAML>=5.4.1",
53+
# "defusedxml>=0.7.1",
54+
# "subresource-integrity>=0.2",
55+
# "jsonschema>=4.9.1",
56+
# "urllib3>=1.25.10",
57+
# "semantic-version>=2.10.0"
58+
# ],
6459
)

0 commit comments

Comments
 (0)