installing python packages the right way
This commit is contained in:
parent
082d5f76b0
commit
fbd9822800
@ -432,24 +432,9 @@ nixfmt # linting
|
|||||||
cachix # why spend time compiling?
|
cachix # why spend time compiling?
|
||||||
|
|
||||||
# PYTHON.
|
# PYTHON.
|
||||||
python3 # base language
|
(python3.withPackages (ps: with ps; [
|
||||||
pipenv # python development workflow for humans
|
pipenv # python development workflow for humans
|
||||||
# poetry # dependency management made easy
|
# poetry # dependency management made easy
|
||||||
|
|
||||||
# C# & Rust
|
|
||||||
# omnisharp-roslyn # c# linter and code formatter
|
|
||||||
|
|
||||||
# HASKELL
|
|
||||||
# cabal-install # haskell interface
|
|
||||||
|
|
||||||
# JS
|
|
||||||
nodejs # not as bad as I thought
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** PYTHON
|
|
||||||
|
|
||||||
#+begin_src nix
|
|
||||||
]) ++ (with pkgs.python3Packages; [
|
|
||||||
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
||||||
isort # sort Python imports
|
isort # sort Python imports
|
||||||
nose # testing and running python scripts
|
nose # testing and running python scripts
|
||||||
@ -492,6 +477,16 @@ nodejs # not as bad as I thought
|
|||||||
# propagatedBuildInputs =
|
# propagatedBuildInputs =
|
||||||
# [ gitpython requests retrying ruamel-yaml schedule unstable.qbittorrent-api ];
|
# [ gitpython requests retrying ruamel-yaml schedule unstable.qbittorrent-api ];
|
||||||
# })
|
# })
|
||||||
|
]) ) # base language
|
||||||
|
|
||||||
|
# C# & Rust
|
||||||
|
# omnisharp-roslyn # c# linter and code formatter
|
||||||
|
|
||||||
|
# HASKELL
|
||||||
|
# cabal-install # haskell interface
|
||||||
|
|
||||||
|
# JS
|
||||||
|
nodejs # not as bad as I thought
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** NODEJS PACKAGES
|
** NODEJS PACKAGES
|
||||||
@ -617,6 +612,7 @@ xdg = {
|
|||||||
"npm/npmrc".source = ../dotfiles/npm/npmrc;
|
"npm/npmrc".source = ../dotfiles/npm/npmrc;
|
||||||
"gallery-dl/config.json".source = ../dotfiles/gallery-dl/config.json;
|
"gallery-dl/config.json".source = ../dotfiles/gallery-dl/config.json;
|
||||||
"htop/htoprc".source = ../dotfiles/htop/htoprc;
|
"htop/htoprc".source = ../dotfiles/htop/htoprc;
|
||||||
|
"python/pythonrc".source = ../dotfiles/pythonrc;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -755,6 +751,8 @@ environment = {
|
|||||||
PSQL_HISTORY="${XDG_DATA_HOME}/psql_history";
|
PSQL_HISTORY="${XDG_DATA_HOME}/psql_history";
|
||||||
REDISCLI_HISTFILE="${XDG_DATA_HOME}/redis/rediscli_history";
|
REDISCLI_HISTFILE="${XDG_DATA_HOME}/redis/rediscli_history";
|
||||||
WINEPREFIX="${XDG_DATA_HOME}/wine";
|
WINEPREFIX="${XDG_DATA_HOME}/wine";
|
||||||
|
PYTHONSTARTUP="${XDG_CONFIG_HOME}/python/pythonrc";
|
||||||
|
STACK_ROOT="${XDG_DATA_HOME}/stack";
|
||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
HISTFILE = "${XDG_STATE_HOME}/bash/history";
|
HISTFILE = "${XDG_STATE_HOME}/bash/history";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user