Skip to content

Commit 4048790

Browse files
authored
Merge pull request #412 from moduon/gitpod
feat: support Gitpod
2 parents fe72f0a + 15ca949 commit 4048790

File tree

6 files changed

+25
-0
lines changed

6 files changed

+25
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ debug/reqs.txt
66
result
77
debug/overrides.nix
88
!.github
9+
*.egg-info
10+
build/

.gitpod.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# See https://www.gitpod.io/docs/config-gitpod-file
2+
3+
tasks:
4+
- init: pip install -e .[test]

.vscode/extensions.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"ms-python.python"
4+
]
5+
}

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.testing.pytestEnabled": true
3+
}

Readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ If a package is built by overriding nixpkgs, the following attributes are modifi
227227
## Contributing
228228
Contributions to this project are welcome in the form of GitHub PRs. If you are planning to make any considerable changes, you should first present your plans in a GitHub issue so it can be discussed.
229229

230+
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/DavHau/mach-nix)
231+
230232
## Limitations
231233
- Currently mach-nix does not provide any functionality which supports you in publishing python projects, like [Poetry](https://python-poetry.org/) does for example.
232234

setup.py

+9
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
with open(pwd + '/mach_nix/VERSION') as f:
77
version = f.read().strip()
88

9+
test_deps = [
10+
'pytest',
11+
]
12+
extras = {
13+
'test': test_deps,
14+
}
15+
916
setup(
1017
name='mach-nix',
1118
version=version,
@@ -29,4 +36,6 @@
2936
'toml',
3037
'tree-format == 0.1.2',
3138
],
39+
tests_require=test_deps,
40+
extras_require=extras,
3241
)

0 commit comments

Comments
 (0)