effectual 0.7.9__tar.gz → 0.7.12__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,11 +6,6 @@
6
6
 
7
7
  .ruff_cache/
8
8
 
9
- # bundled file
10
-
11
- out/**
12
- out/bundle.py
13
-
14
9
  # testing files
15
10
 
16
11
  testing.py
@@ -1,19 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: effectual
3
- Version: 0.7.9
3
+ Version: 0.7.12
4
4
  Summary: A python package/script bundler
5
5
  Project-URL: Homepage, https://github.com/effectualpy/effectual
6
6
  Author-email: jake <jakewdr@proton.me>
7
7
  License-Expression: MIT
8
8
  License-File: LICENSE
9
- Classifier: Programming Language :: Python :: 3.8
10
9
  Classifier: Programming Language :: Python :: 3.9
11
10
  Classifier: Programming Language :: Python :: 3.10
12
11
  Classifier: Programming Language :: Python :: 3.11
13
12
  Classifier: Programming Language :: Python :: 3.12
14
13
  Classifier: Programming Language :: Python :: 3.13
15
14
  Classifier: Programming Language :: Python :: Implementation :: CPython
16
- Requires-Python: >=3.8
15
+ Requires-Python: >=3.9
17
16
  Requires-Dist: click>=8.1.7
18
17
  Requires-Dist: python-minifier>=2.11.3
19
18
  Requires-Dist: rtoml>=0.11.0
@@ -95,3 +94,22 @@ This is like what what [Rollup](https://rollupjs.org/) does for vite
95
94
  # Contributions
96
95
 
97
96
  All contributions are welcome, I'm not the best in the world at project management but if you think you can add or improve anything please send over a pull request
97
+
98
+ ## Building the project from source
99
+
100
+ ### Requirements
101
+
102
+ To build the project from source you need two tools:
103
+
104
+ 1) [uv](https://docs.astral.sh/uv/#getting-started)
105
+ 2) [TaskFile](https://taskfile.dev/installation/)
106
+
107
+ ### Process
108
+
109
+ 1) CD to your effectual directory and run:
110
+
111
+ task setup
112
+
113
+ 2) Then to build an distributable tar.gz and wheel:
114
+
115
+ task build
@@ -72,3 +72,22 @@ This is like what what [Rollup](https://rollupjs.org/) does for vite
72
72
  # Contributions
73
73
 
74
74
  All contributions are welcome, I'm not the best in the world at project management but if you think you can add or improve anything please send over a pull request
75
+
76
+ ## Building the project from source
77
+
78
+ ### Requirements
79
+
80
+ To build the project from source you need two tools:
81
+
82
+ 1) [uv](https://docs.astral.sh/uv/#getting-started)
83
+ 2) [TaskFile](https://taskfile.dev/installation/)
84
+
85
+ ### Process
86
+
87
+ 1) CD to your effectual directory and run:
88
+
89
+ task setup
90
+
91
+ 2) Then to build an distributable tar.gz and wheel:
92
+
93
+ task build
@@ -1,15 +1,14 @@
1
1
  [project]
2
2
  name = "effectual"
3
- version = "0.7.9"
3
+ version = "0.7.12"
4
4
  description = "A python package/script bundler"
5
5
  readme = "README.md"
6
6
  license = "MIT"
7
7
  authors = [
8
8
  { name = "jake", email = "jakewdr@proton.me" }
9
9
  ]
10
- requires-python = ">=3.8"
10
+ requires-python = ">=3.9"
11
11
  classifiers = [
12
- "Programming Language :: Python :: 3.8",
13
12
  "Programming Language :: Python :: 3.9",
14
13
  "Programming Language :: Python :: 3.10",
15
14
  "Programming Language :: Python :: 3.11",
@@ -42,10 +41,23 @@ build-backend = "hatchling.build"
42
41
 
43
42
  [dependency-groups]
44
43
  dev = [
44
+ "hatch>=1.14.0",
45
45
  "mypy>=1.13.0",
46
46
  "ruff>=0.8.1",
47
47
  ]
48
48
 
49
+ [tool.hatch.build]
50
+ reproducible = true
51
+
52
+ [tool.hatch.build.targets.wheel]
53
+ exclude = ["ruff"]
54
+
55
+ [tool.hatch.build.targets.sdist]
56
+ exclude = [
57
+ "ruff",
58
+ "*.md"
59
+ ]
60
+
49
61
  [tool.ruff]
50
62
 
51
63
  include = ["pyproject.toml", "src/**/*.py"]
@@ -0,0 +1,49 @@
1
+ version: "3.17"
2
+
3
+ tasks:
4
+
5
+ dist:
6
+ desc: Builds and then allows for publishing
7
+ deps: [build]
8
+ cmds:
9
+ - uv run hatch publish -y
10
+
11
+ build:
12
+ desc: Builds distributable tar.gz and wheel files
13
+ cmds:
14
+ - task: check
15
+ - uv build
16
+
17
+ check:
18
+ desc: Formats and lints python source files
19
+ deps: [lint, format]
20
+
21
+ format:
22
+ desc: Formats python source files
23
+ cmds:
24
+ - uv run ruff format --config pyproject.toml
25
+
26
+ lint:
27
+ desc: Lints python source files
28
+ cmds:
29
+ - uv run ruff check --config pyproject.toml
30
+
31
+
32
+ type:
33
+ desc: Type checks Python source files
34
+ cmds:
35
+ - uv run mypy src/effectual/*.py
36
+
37
+ bump:
38
+ desc: Bumps the versions of Python packages
39
+ cmds:
40
+ - uv lock --upgrade
41
+ - uv sync
42
+
43
+ setup:
44
+ desc: Installs dependencies and creates venv
45
+ cmds:
46
+ - uv python install 3.11
47
+ - uv venv --python 3.11
48
+ - uv lock
49
+ - uv sync