Directory Organization
Foo/| -- bin/# executable file directory | -- Foo/# main program directory | -- tests/| -- _ init __. PY | -- test_main.py | -- _ init __. PY | -- Main. PY # program entry | -- docs/# document | -- Conf. PY | -- ABC. RST | -- setup. PY # Install the deployment script | -- requirements.txt # dependency | -- readme
Readme
- Software positioning: basic functions of software
- How to run the code: installation environment, startup command, etc.
- Brief Instructions
- Code directory structure description. For more details, you can describe the basic principles of the software.
- FAQs
Obtain base_dir
# Author: Li dongfeiimport OS, sysbase_dir = OS. path. dirname (OS. path. dirname (OS. path. abspath (_ file _) sys. path. append (base_dir) from conf import settingsfrom core import mainmain. login ()
Software catalog structure specification 181031