Skip to content

Commit a688d45

Browse files
authored
v0.0.2: updated packaging and distribution (#9)
- Added pyproject.toml for build configuration - Added .gitignore to exclude unnecessary files - Added CHANGELOG.md for version history tracking - Updated setup.py: - Set Python requirement to >= 3.9 - Updated SigProfilerPlotting requirement to >= 1.4.1 - Updated SigProfilerMatrixGenerator requirement to >= 1.3.5
1 parent bc22391 commit a688d45

File tree

5 files changed

+58
-6
lines changed

5 files changed

+58
-6
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# Distribution / packaging
7+
build/
8+
dist/
9+
*.egg-info/
10+
.eggs/
11+
*.whl
12+
13+
# macOS
14+
*.DS_Store
15+
16+
# IDE / editor settings
17+
.vscode/
18+
.idea/
19+
20+
# Test / example output
21+
HRProfiler/example/output_example1/

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## [0.0.2] - 2025-08-13
10+
11+
### Added
12+
- Added `pyproject.toml` for PEP 517/518 build support.
13+
- Added `.gitignore` to exclude build artifacts, cache files, and system files from version control.
14+
15+
### Changed
16+
- Increased minimum required Python version to **3.9**.
17+
- Updated `sigProfilerPlotting` to version **1.4.1**.
18+
- Updated `SigProfilerMatrixGenerator` to version **1.3.5**.
19+
- Updated `numpy` to version **2.0.0**.
20+
- Updated `pandas` to version **2.0.0**.
21+
- Updated `matplotlib` to version **3.4.3**.

HRProfiler/version.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
12
# THIS FILE IS GENERATED FROM HRProfiler SETUP.PY
2-
short_version = '0.0.1'
3-
version = '0.0.1'
3+
short_version = '0.0.2'
4+
version = '0.0.2'
5+
6+

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools>=61", "wheel", "build"]
3+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def readme():
1313
long_description = f.read()
1414
return(long_description)
1515

16-
VERSION = '0.0.1'
16+
VERSION = '0.0.2'
1717

1818
def write_version_py(filename='HRProfiler/version.py'):
1919
# Copied from numpy setup.py
@@ -40,14 +40,18 @@ def write_version_py(filename='HRProfiler/version.py'):
4040
author_email="[email protected]",
4141
license="UCSD",
4242
packages=["HRProfiler", "HRProfiler.scripts"],
43-
python_requires=">=3.8",
43+
python_requires=">=3.9",
4444
install_requires=[
45-
"sigProfilerPlotting>=1.3.16",
46-
"SigProfilerMatrixGenerator>=1.2.23",
45+
"sigProfilerPlotting>=1.4.1",
46+
"SigProfilerMatrixGenerator>=1.3.5",
4747
"joblib>=0.16.0",
4848
"scikit-plot==0.3.7",
4949
"scikit-learn>=1.1.3",
5050
"seaborn",
51+
"numpy >= 2.0.0",
52+
"pandas >= 2.0.0",
53+
"matplotlib >= 3.4.3",
54+
5155
],
5256
include_package_data=True,
5357
zip_safe=False,

0 commit comments

Comments
 (0)