Skip to content
Permalink
Browse files
[FLINK-22032] add Makefile and requirements.txt
  • Loading branch information
knaufk committed Apr 9, 2021
1 parent 647197b commit f5aa96e9fddf0607471fc587147db6e7037a198c
Showing 3 changed files with 46 additions and 0 deletions.
@@ -0,0 +1 @@
venv
@@ -0,0 +1,26 @@
# define the name of the virtual environment directory
VENV := venv

# default target, when make executed without arguments
all: venv

$(VENV)/bin/activate: requirements.txt
python3 -m venv $(VENV)
./$(VENV)/bin/pip install -r requirements.txt

# venv is a shortcut target
venv: $(VENV)/bin/activate

run: venv
./$(VENV)/bin/python3 flink_jira_bot/flink_jira_bot.py

format: venv
./$(VENV)/bin/python3 -m black .

clean:
rm -rf $(VENV)
find . -type f -name '*.pyc' -delete



.PHONY: all venv run clean
@@ -0,0 +1,19 @@
appdirs==1.4.4
atlassian-python-api==3.8.0
black @ git+git://github.com/psf/black@e114ef5514e95cb9908b38c2397978f2070c1b0e
certifi==2020.12.5
chardet==4.0.0
click==7.1.2
Deprecated==1.2.12
idna==2.10
mypy-extensions==0.4.3
oauthlib==3.1.0
pathspec==0.8.1
pycparser==2.20
regex==2021.4.4
requests==2.25.1
requests-oauthlib==1.3.0
six==1.15.0
toml==0.10.2
urllib3==1.26.4
wrapt==1.12.1

0 comments on commit f5aa96e

Please sign in to comment.