mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-03 19:19:42 -04:00
Added requirements as explicit dependencies in setup.py
This commit is contained in:
8
setup.py
8
setup.py
@@ -25,6 +25,13 @@ from setuptools import setup, find_packages
|
||||
with open("package.json") as data:
|
||||
package = json.load(data)
|
||||
|
||||
# Load list of dependencies
|
||||
with open("requirements.txt") as data:
|
||||
install_requires = [
|
||||
line for line in data.read().split("\n")
|
||||
if line and not line.startswith("#")
|
||||
]
|
||||
|
||||
# Package description
|
||||
setup(
|
||||
name = package["name"],
|
||||
@@ -37,6 +44,7 @@ setup(
|
||||
keywords = package["keywords"],
|
||||
packages = find_packages(),
|
||||
include_package_data = True,
|
||||
install_requires = install_requires,
|
||||
entry_points = {
|
||||
"mkdocs.themes": [
|
||||
"material = material",
|
||||
|
||||
Reference in New Issue
Block a user