Skip to content

Commit db75571

Browse files
author
Kazuki Suzuki Przyborowski
committed
Ver up
1 parent b4fb39b commit db75571

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

pyarchivefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def decode_unicode_escape(value):
339339
__file_format_dict__ = __file_format_multi_dict__[__file_format_default__]
340340
__project__ = __program_name__
341341
__project_url__ = "https://github.com/GameMaker2k/PyArchiveFile"
342-
__version_info__ = (0, 19, 0, "RC 1", 1)
342+
__version_info__ = (0, 19, 2, "RC 1", 1)
343343
__version_date_info__ = (2025, 3, 7, "RC 1", 1)
344344
__version_date__ = str(__version_date_info__[0]) + "." + str(
345345
__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "PyArchiveFile"
3-
version = "0.19.0"
3+
version = "0.19.2"
44
readme = "README.md"
55
license = { text = "BSD-3-Clause" }
66
keywords = []

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import os
2020
import re
2121
import sys
22-
import pkg_resources
2322
from setuptools import setup
2423

2524
# Open and read the version info file in a Python 2/3 compatible way
@@ -108,8 +107,8 @@
108107
print(pymodule_data)
109108
sys.exit()
110109
if(len(sys.argv) > 1 and (sys.argv[1] == "sourceinfo" or sys.argv[1] == "getsourceinfo")):
111-
srcinfofilename = os.path.realpath("."+os.path.sep+pkg_resources.to_filename(
112-
pymodule['name'])+".egg-info"+os.path.sep+"SOURCES.txt")
110+
srcinfofilename = os.path.realpath("."+os.path.sep+
111+
pymodule['name'].replace('-', '_')+".egg-info"+os.path.sep+"SOURCES.txt")
113112
srcinfofile = open(srcinfofilename, "r")
114113
srcinfodata = srcinfofile.read()
115114
srcinfofile.close()
@@ -123,7 +122,7 @@
123122
if(len(sys.argv) > 1 and sys.argv[1] == "cleansourceinfo"):
124123
os.system("rm -rfv \""+os.path.realpath("."+os.path.sep+"dist\""))
125124
os.system("rm -rfv \""+os.path.realpath("."+os.path.sep +
126-
pkg_resources.to_filename(pymodule['name'])+".egg-info\""))
125+
pymodule['name'].replace('-', '_')+".egg-info\""))
127126
sys.exit()
128127

129128
if(len(sys.argv) > 1 and (sys.argv[1] == "buildcfg" or sys.argv[1] == "makecfg")):

0 commit comments

Comments
 (0)