mirror of
https://github.com/torproject/lego.git
synced 2024-11-26 19:20:22 +00:00
4903d4baa8
Adding the packages the new donate stuff is using to the repository so that they do not need to be downloaded to run lektor. I had to make some modifications to the setup.py files for these modules in order to get them to work. Otherwise I was getting errors about invalid syntax in the requires.txt files and also one of the modules was requiring lektor which was pulling in a bunch of stuff that's not needed because we are running inside lektor. I put all these changes in patch files in a new patches subdirectory.
22 lines
737 B
Python
22 lines
737 B
Python
from setuptools import setup
|
|
|
|
|
|
setup(
|
|
name="lektor-envvars",
|
|
version="18.6.12.4",
|
|
description="A Lektor plugin making environment variables available in templates.",
|
|
long_description="\n\n".join([open("README.rst").read()]),
|
|
license="MIT",
|
|
author="Sebastian Vetter",
|
|
author_email="seb@roadsi.de",
|
|
url="https://www.github.com/elbaschid/lektor-envvars",
|
|
py_modules=["lektor_envvars"],
|
|
entry_points={"lektor.plugins": ["envvars = lektor_envvars:EnvvarsPlugin"]},
|
|
classifiers=[
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
],
|
|
)
|