Formatting

This commit is contained in:
squidfunk 2022-02-27 13:32:41 +01:00
parent b8c079fd8b
commit bcacf4c328

View File

@ -22,19 +22,19 @@ import json
from setuptools import setup, find_packages from setuptools import setup, find_packages
# Load package.json contents # Load package.json contents
with open("package.json") as data: with open("package.json") as f:
package = json.load(data) package = json.load(f)
# Load list of dependencies # Load list of dependencies
with open("requirements.txt") as data: with open("requirements.txt") as f:
install_requires = [ install_requires = [
line for line in data.read().split("\n") line for line in f.read().split("\n")
if line and not line.startswith("#") if line and not line.startswith("#")
] ]
# Load README contents # Load README contents
with open("README.md", encoding = "utf-8") as data: with open("README.md", encoding = "utf-8") as f:
long_description = data.read() long_description = f.read()
# Package description # Package description
setup( setup(