commit c8a7be297e7b09fbf20277e304915ab5ef9cfdbb
parent 7509d1413af3bcd32ffa938b62bfab4c56320759
Author: lash <dev@holbrook.no>
Date: Mon, 24 Jan 2022 00:14:06 +0000
Factor out requirements file
Diffstat:
5 files changed, 25 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,4 @@
+__pycache__
+build/
+*.pyc
+*.egg-info
diff --git a/MANIFEST.in b/MANIFEST.in
@@ -0,0 +1 @@
+include *requirements.txt
diff --git a/ROADMAP b/ROADMAP
@@ -1,2 +1,6 @@
-- Sign entries with PGP
-- filter entries by task
+* 0.5.2
+ - Settable date for updates
+* Unscheduled
+ - Sign entries with PGP
+ - filter entries by task
+ - format hint for main log entry text
diff --git a/requirements.txt b/requirements.txt
@@ -0,0 +1,2 @@
+pyxdg~=0.26
+tasklib>=1.3.0,<2.0.0
diff --git a/setup.py b/setup.py
@@ -1,4 +1,15 @@
from setuptools import setup
+import os
+
+requirements = []
+f = open('requirements.txt', 'r')
+while True:
+ l = f.readline()
+ if l == '':
+ break
+ requirements.append(l.rstrip())
+f.close()
+
setup(
name='feedwarrior',
@@ -12,8 +23,7 @@ setup(
'feedwarrior.adapters'
],
install_requires=[
- 'pyxdg>=0.26',
- 'tasklib>=1.3.0,<2.0.0',
+ requirements,
],
scripts = [
'scripts/feedwarrior',