Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup requirements and setup.py dependencies #301

Merged
merged 1 commit into from Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions .devcontainer/Dockerfile
Expand Up @@ -4,12 +4,6 @@
ARG VARIANT="3"
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

COPY requirements.txt /tmp/pip-tmp/
RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
&& rm -rf /tmp/pip-tmp

RUN wget -qO - https://raw.githubusercontent.com/yarnpkg/releases/gh-pages/debian/pubkey.gpg | sudo apt-key add -

ENV DEBIAN_FRONTEND=noninteractive
ENV GEM_HOME="/usr/local/bundle"
ENV PATH $GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Expand Up @@ -7,7 +7,7 @@
"context": "..",
"args": {
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
"VARIANT": "3"
"VARIANT": "3.10"
}
},
"remoteEnv": {
Expand Down
5 changes: 3 additions & 2 deletions mkdocs_simple_plugin/generator.py
Expand Up @@ -17,9 +17,10 @@
{% include "versions.snippet" %}

"""
import click
import tempfile
import os
import tempfile

import click
import yaml


Expand Down
7 changes: 5 additions & 2 deletions requirements.txt
@@ -1,11 +1,14 @@
click==8.1.2
flake8==4.0.1
Jinja2==3.1.1
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-awesome-pages-plugin==2.7.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.2.8
mkdocs==1.3.0
mkdocs-simple-hooks==0.1.5
mkdocstrings==0.18.1
pip-upgrader==1.4.15
pydocstyle==6.1.1
pymdown-extensions==9.3
MarkupSafe==2.1.1
PyYAML==6.0
8 changes: 5 additions & 3 deletions setup.py
@@ -1,10 +1,10 @@
"""mkdocs-simple-plugin package."""
import setuptools

with open("README.md", "r") as fh:
with open("README.md", "r", encoding='UTF-8') as fh:
long_description = fh.read()

with open("VERSION", "r") as version_file:
with open("VERSION", "r", encoding='UTF-8') as version_file:
version_num = version_file.read().strip()

setuptools.setup(
Expand All @@ -25,8 +25,10 @@
license='Apache-2.0',
python_requires='>=3',
install_requires=[
'click>=7.1',
'MarkupSafe>=2.1.1',
'mkdocs>=1.0.6',
'click>=7.1'],
'PyYAML>=6.0'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand Down