April 2018
Beginner
340 pages
7h 54m
English
When packaging an application, a special file called setup.py is required. This file will be read by the packaging tool and used to determine things such as which libraries to include, and which files should be run when the user executes the application.
Create a file named setup.py in your main text editor folder (which I have named tkedit) and add the following content:
#!/usr/bin/env python3from distutils.core import setupsetup( name='tkedit', version='0.1', description='This is a python text editor with syntax highlighting', author='David Love', py_modules = [ "colorchooser", "findwindow", "fontchooser", "highlighter", "linenumbers", "textarea", "texteditor", ], install_requires = [ "PyYAML", ], entry_points ...