Unify setup requirements and requirements.txt
This commit is contained in:
parent
a2c31fedd5
commit
fa496f2c90
24
setup.py
24
setup.py
@ -1,3 +1,6 @@
|
||||
#!python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from setuptools import setup
|
||||
from os import path
|
||||
|
||||
@ -5,6 +8,12 @@ this_directory = path.abspath(path.dirname(__file__))
|
||||
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
with open('requirements.txt') as f:
|
||||
required = f.read().splitlines()
|
||||
|
||||
# remove descriptions of packages
|
||||
required = [i.split(' ')[0] for i in required]
|
||||
|
||||
__project__ = "inkycal"
|
||||
__version__ = "2.0.0"
|
||||
__description__ = "Inkycal is a python3 software for syncing icalendar events, weather and news on selected E-Paper displays"
|
||||
@ -13,19 +22,7 @@ __author__ = "aceisace"
|
||||
__author_email__ = "aceisace63@yahoo.com"
|
||||
__url__ = "https://github.com/aceisace/Inkycal"
|
||||
|
||||
__install_requires__ = ['pyowm==3.1.1', # weather
|
||||
'Pillow>=7.1.1' , # imaging
|
||||
'icalendar==4.0.6', # iCalendar parsing
|
||||
'recurring-ical-events==0.1.17b0',# parse recurring events
|
||||
'feedparser==6.0.8', # RSS-feeds
|
||||
# 'numpy>=1.18.2', # image pre-processing -> removed for issues with rpi os
|
||||
'arrow==0.17.0', # time handling
|
||||
'Flask==1.1.2', # webserver
|
||||
'Flask-WTF==0.14.3', # webforms
|
||||
'todoist-python==8.1.2', # todoist api
|
||||
'yfinance>=0.1.62', # yahoo stocks
|
||||
'matplotlib==3.4.2' # plotting
|
||||
]
|
||||
__install_requires__ = required
|
||||
|
||||
__classifiers__ = [
|
||||
"Development Status :: 4 - Beta",
|
||||
@ -35,7 +32,6 @@ __classifiers__ = [
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
]
|
||||
|
||||
|
||||
setup(
|
||||
name=__project__,
|
||||
version=__version__,
|
||||
|
Loading…
Reference in New Issue
Block a user