-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (29 loc) · 1.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import os.path
import sys
from cx_Freeze import setup, Executable
PYTHON_INSTALL_DIR = os.path.dirname(os.path.dirname(os.__file__))
os.environ['TCL_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tcl8.6')
os.environ['TK_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tk8.6')
# dependencies that are automatically detected, but might need fine tuning
build_exe_options = {"packages": ["os", 'cx_Freeze'], "include_files": ['tcl86t.dll', 'tk86t.dll']}
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup(name="Alma_brief_Records",
version='0.1',
license='NLI',
author='Yael Vardina Gherman',
author_email='Yael.VardinaGherman@nli.org.il',
description='This script creates an MARCxml file for up creating new records Alma with minimal data.',
executables=[Executable('run_alma.py', base=base)])
# setup(
# name='Aleph_custom4',
# version='0.1',
# url='https://blog.nli.org.il/culture_and_art/',
# license='NLI'
# author='Yael Vardina Gherman',
# author_email='Yael.VardinaGherman@nli.org.ol',
# description='This script creates an MARCxml file for up creating new records Alma with minimal data.',
# executables=[Executable("run.py", base = base)],
# options= ["build_exe": build_exe_options]
# )