https://github.com/matrixai/python-demo
Python Demo Project using Nix
https://github.com/matrixai/python-demo
nix python
Last synced: 7 months ago
JSON representation
Python Demo Project using Nix
- Host: GitHub
- URL: https://github.com/matrixai/python-demo
- Owner: MatrixAI
- License: apache-2.0
- Created: 2019-03-08T09:54:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-26T04:34:17.000Z (over 4 years ago)
- Last Synced: 2025-03-17T19:31:06.740Z (10 months ago)
- Topics: nix, python
- Language: Python
- Homepage: https://matrix.ai
- Size: 49.8 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Demo
[](https://gitlab.com/MatrixAI/open-source/Python-Demo/commits/master)
## Installation
Building the package (as a library):
```sh
nix-build -E '(import ./pkgs.nix).python3Packages.callPackage ./default.nix {}'
```
Building the releases:
```sh
nix-build ./release.nix --attr library
nix-build ./release.nix --attr application
nix-build ./release.nix --attr docker
```
Install into Nix user profile:
```sh
nix-env -f ./release.nix --install --attr application
```
Install into Docker:
```sh
docker load --input "$(nix-build ./release.nix --attr docker)"
```