mirror of
https://github.com/evilsocket/pwnagotchi.git
synced 2026-01-23 02:24:15 +00:00
Merge pull request #795 from hectorm/allow-disable-installer
Allow installer deactivation
This commit is contained in:
commit
155ea54d08
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
from setuptools import setup, find_packages
|
||||
from distutils.util import strtobool
|
||||
import os
|
||||
import glob
|
||||
import shutil
|
||||
|
|
@ -54,7 +55,8 @@ def version(version_file):
|
|||
return None
|
||||
|
||||
|
||||
installer()
|
||||
if strtobool(os.environ.get("PWNAGOTCHI_ENABLE_INSTALLER", "1")):
|
||||
installer()
|
||||
|
||||
with open('requirements.txt') as fp:
|
||||
required = [line.strip() for line in fp if line.strip() != ""]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue