mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 19:52:50 -03:00
add file_list to setup.py
This commit is contained in:
parent
29a269253a
commit
9d82574465
1 changed files with 7 additions and 0 deletions
7
setup.py
7
setup.py
|
@ -9,6 +9,13 @@ try:
|
|||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
def file_list(path):
|
||||
files = []
|
||||
for filename in os.listdir(path):
|
||||
if os.path.isfile(path+'/'+filename):
|
||||
files.append(path+'/'+filename)
|
||||
return files
|
||||
|
||||
version = open('version').read().strip()
|
||||
args = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue