Skip to content

Commit 3607653

Browse files
authored
Moved the pyswip package to src directory (#169)
Moved pyswip package to src
1 parent 00e66a6 commit 3607653

File tree

7 files changed

+16
-11
lines changed

7 files changed

+16
-11
lines changed

INSTALL.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
# PySwip INSTALL
1+
# Installing PySwip
22

3-
PySwip has no dependencies beyond Python's standard library. Some operating systems do not install the full standard library. In that case make sure that your Python setup includes `ctypes`.
3+
Requirements:
44

5-
We recommend installing PySwip into a virtual environment. Python3 already has built-in support for that. You can create a virtual environment in `pyswip_env` directory using:
5+
6+
PySwip has no dependencies beyond Python's standard library.
7+
Some operating systems do not install the full standard library.
8+
In that case make sure that your Python setup includes the `ctypes` module.
9+
10+
We recommend installing PySwip into a virtual environment.
11+
Python3 already has built-in support for that.
12+
You can create a virtual environment in `pyswip_env` directory using:
613
```
714
python3 -m venv pyswip_env
815
```
@@ -25,7 +32,7 @@ See the [Python documentation](https://docs.python.org/3/library/venv.html) for
2532

2633
### Arch Linux
2734

28-
[Alexander Rødseth](https://roboticoverlords.org) maintains the [Arch Linux package](https://www.archlinux.org/packages/community/any/python-pyswip/).
35+
[Alexander Rødseth](https://roboticoverlords.org) maintains the [Arch Linux package](https://archlinux.org/packages/extra/any/python-pyswip/).
2936

3037
Install PySwip with dependencies using:
3138
```
@@ -34,7 +41,7 @@ sudo pacman -S python-pyswip
3441

3542
### Manjaro Linux
3643

37-
Same as the Arch Linux instructions. See: https://discover.manjaro.org/packages/python-pyswip
44+
Same as the Arch Linux instructions. See: https://manjaristas.org/branch_compare?q=pyswip
3845

3946
### Parabola GNU/Linux-libre
4047

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
build:
44
hatch build
55

6-
clean:coveralls
6+
clean:
77
rm -rf dist build pyswip.egg-info
88

99
coverage:

pyproject.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@ Download = "https://github.com/yuce/pyswip/releases"
4141
Homepage = "https://github.com/yuce/pyswip"
4242

4343
[tool.hatch.version]
44-
path = "pyswip/__init__.py"
44+
path = "src/pyswip/__init__.py"
4545

4646
[tool.hatch.build.targets.sdist]
47-
include = [
48-
"/pyswip",
49-
]
47+
packages = ["src/pyswip"]
5048

5149
[tool.hatch.build.targets.wheel]
52-
packages = ["pyswip"]
50+
packages = ["src/pyswip"]
5351

5452
[tool.hatch.envs.test]
5553
dependencies = [
File renamed without changes.

pyswip/core.py src/pyswip/core.py

File renamed without changes.

pyswip/easy.py src/pyswip/easy.py

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)