Project

General

Profile

Download (2.21 KB) Statistics
| Branch: | Tag: | Revision:

hydrilla-builder / README.md @ debian-debian

1
# Hydrilla builder
2

    
3
This is the repository of the builder part of [Hydrilla](https://hydrillabugs.koszko.org/projects/hydrilla/wiki). You can find the repository of its server part [here](https://git.koszko.org/pydrilla/).
4

    
5
Hydrilla builder is a tool to create Haketilo packages in serveable form. The information below is meant to help hack on the codebase. If you're instead looking for some noob-friendly documentation, see the [user manual](https://hydrillabugs.koszko.org/projects/hydrilla/wiki/User_manual).
6

    
7
## Dependencies
8

    
9
### Runtime
10

    
11
* Python3 (>= 3.7)
12
* click
13
* jsonschema (>= 3.0)
14
* reuse [optional]
15

    
16
### Build
17

    
18
* build (a PEP517 package builder)
19
* setuptools
20
* wheel
21
* setuptools_scm
22
* babel (Python library)
23

    
24
### Test
25

    
26
* pytest
27

    
28
## Building & testing & installation from wheel
29

    
30
Build, test and installation processes are analogous to those described in the [README of Hydrilla server part](https://git.koszko.org/pydrilla/about).
31

    
32
## Running
33

    
34
This package provides a hydrilla-builder command. You can use it to build the supplied example with something along the lines of:
35

    
36
```
37
mkdir /tmp/bananowarzez/
38
hydrilla-builder -s src/test/source-package-example/ -d /tmp/bananowarzez/
39
# Now, list the serveable package files we just produced.
40
find /tmp/bananowarzez/
41
```
42

    
43
You might as well like to run from sources, without installation:
44

    
45
``` shell
46
mkdir /tmp/bananowarzez/
47
./setup.py compile_catalog # generate the necessary .po files
48
PYTHONPATH=src python3 -m hydrilla.builder -s src/test/source-package-example/ \
49
	       -d /tmp/bananowarzez/
50
```
51

    
52
You can also consult the included manpage (`man` tool required):
53
``` shell
54
man ./doc/man/man1/hydrilla-builder.1
55
```
56

    
57
## Copying
58

    
59
Hydrilla is Copyright (C) 2021-2022 Wojtek Kosior and contributors, entirely available under the GNU Affero General Public License version 3 or later. Some files might also give you broader permissions, see comments inside them.
60

    
61
*I, Wojtek Kosior, thereby promise not to sue for violation of this project's license. Although I request that you do not make use this code in a proprietary program, I am not going to enforce this in court.*
62

    
63
## Contributing
64

    
65
Please visit our Redmine instance at https://hydrillabugs.koszko.org.
66

    
67
You can also write an email to koszko@koszko.org.
(3-3/8)