Make package buildable by nix
This commit is contained in:
parent
8aae7beecd
commit
9001bd8f92
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/405d762a1a05ffed2ac820eb4bae4bc49bc3abf2.tar.gz") {}
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
app = pkgs.poetry2nix.mkPoetryApplication {
|
||||||
|
projectDir = ./.;
|
||||||
|
};
|
||||||
|
in app.dependencyEnv
|
|
@ -1,15 +0,0 @@
|
||||||
beautifulsoup4==4.9.1
|
|
||||||
bs4==0.0.1
|
|
||||||
certifi==2020.6.20
|
|
||||||
chardet==3.0.4
|
|
||||||
click==7.1.2
|
|
||||||
Flask==1.1.2
|
|
||||||
idna==2.10
|
|
||||||
itsdangerous==1.1.0
|
|
||||||
Jinja2==2.11.2
|
|
||||||
MarkupSafe==1.1.1
|
|
||||||
pkg-resources==0.0.0
|
|
||||||
requests==2.24.0
|
|
||||||
soupsieve==2.0.1
|
|
||||||
urllib3==1.25.10
|
|
||||||
Werkzeug==1.0.1
|
|
19
setup.py
19
setup.py
|
@ -1,19 +0,0 @@
|
||||||
import setuptools
|
|
||||||
|
|
||||||
with open("requirements.txt") as f:
|
|
||||||
requires = f.readlines()
|
|
||||||
|
|
||||||
setuptools.setup(
|
|
||||||
name="inquisitor",
|
|
||||||
version="0.0.1",
|
|
||||||
author="Tim Van Baak",
|
|
||||||
description="An arbitrary feed aggregator",
|
|
||||||
packages=setuptools.find_packages(),
|
|
||||||
python_requires=">=3.6",
|
|
||||||
install_requires=requires,
|
|
||||||
entry_points={
|
|
||||||
"console_scripts": [
|
|
||||||
"inquisitor = inquisitor.cli:main",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
)
|
|
Loading…
Reference in New Issue