
Python
0
Вклад в тег
import requests
import sys
import os
from cx_Freeze import setup, Executable
sys.path.append(os.path.join(sys.path[0],'src'))
executable = Executable(script="example.py")
options = {
"build_exe":{
'include_files':[
'/root/.wine/drive_c/Python34/lib/site-packages/requests/'
]
}
}
setup(
name="example",
version="0.1",
descriptios="Hello",
requires = ["requests"],
options = options,
executables = [executable]
)