mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
17 lines
568 B
Python
17 lines
568 B
Python
# relimport.py is a very simple script that tests importing using relative
|
|
# imports (available in Python 2.5 and up)
|
|
#
|
|
# Run the build process by running the command 'python setup.py build'
|
|
#
|
|
# If everything works well you should find a subdirectory in the build
|
|
# subdirectory that contains the files needed to run the script without Python
|
|
|
|
from cx_Freeze import setup, Executable
|
|
|
|
setup(
|
|
name = "relimport",
|
|
version = "0.1",
|
|
description = "Sample cx_Freeze script for relative imports",
|
|
executables = [Executable("relimport.py")])
|
|
|