effectual 0.7.9__tar.gz → 0.7.11__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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: effectual
3
- Version: 0.7.9
3
+ Version: 0.7.11
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>
@@ -95,3 +95,22 @@ This is like what what [Rollup](https://rollupjs.org/) does for vite
95
95
  # Contributions
96
96
 
97
97
  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
98
+
99
+ ## Building the project from source
100
+
101
+ ### Requirements
102
+
103
+ To build the project from source you need two tools:
104
+
105
+ 1) [uv](https://docs.astral.sh/uv/#getting-started)
106
+ 2) [TaskFile](https://taskfile.dev/installation/)
107
+
108
+ ### Process
109
+
110
+ 1) CD to your effectual directory and run:
111
+
112
+ task setup
113
+
114
+ 2) Then to build an distributable tar.gz and wheel:
115
+
116
+ 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,6 +1,6 @@
1
1
  [project]
2
2
  name = "effectual"
3
- version = "0.7.9"
3
+ version = "0.7.11"
4
4
  description = "A python package/script bundler"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -42,10 +42,23 @@ build-backend = "hatchling.build"
42
42
 
43
43
  [dependency-groups]
44
44
  dev = [
45
+ "hatch>=1.14.0",
45
46
  "mypy>=1.13.0",
46
47
  "ruff>=0.8.1",
47
48
  ]
48
49
 
50
+ [tool.hatch.build]
51
+ reproducible = true
52
+
53
+ [tool.hatch.build.targets.wheel]
54
+ exclude = ["ruff"]
55
+
56
+ [tool.hatch.build.targets.sdist]
57
+ exclude = [
58
+ "ruff",
59
+ "*.md"
60
+ ]
61
+
49
62
  [tool.ruff]
50
63
 
51
64
  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