• python 2.5源代码编绎


    VS C++项目中,选择工程项名称,右菜单中选择--->仅适用于项目---->仅生成(项目)

    1.make_buildinfo,make_versioninfo

    make_buildinfo.exe

    make_versioninfo_d.exe

    2.pythoncore   

    python25_d.lib

    python25_d.dll

    3.python,pythonw

    python_d.exe

    pythonw_d.exe

    下载setuptools-21.1.0.zip  (WINDOW 下的扩展名 zip)

    E:setuptools-21.1.0setuptools-21.1.0>python setup.py install

    Copying setuptools-21.1.0-py3.4.egg to c:python34libsite-packages
    Adding setuptools 21.1.0 to easy-install.pth file
    Installing easy_install-script.py script to C:Python34Scripts
    Installing easy_install.exe script to C:Python34Scripts
    Installing easy_install.exe.manifest script to C:Python34Scripts
    Installing easy_install-3.4-script.py script to C:Python34Scripts
    Installing easy_install-3.4.exe script to C:Python34Scripts
    Installing easy_install-3.4.exe.manifest script to C:Python34Scripts

    ---------------------------------------------------------------------------------------------------

    安装Django:

    E:Django-1.9.6Django-1.9.6>python setup.py install                                                                  

    creating 'distDjango-1.9.6-py3.4.egg' and adding 'builddist.win32egg' to it
    removing 'builddist.win32egg' (and everything under it)
    Processing Django-1.9.6-py3.4.egg
    creating c:python34libsite-packagesDjango-1.9.6-py3.4.egg

    Extracting Django-1.9.6-py3.4.egg to c:python34libsite-packages

    Adding Django 1.9.6 to easy-install.pth file

    Installing django-admin.py script to C:Python34Scripts
    Deleting C:Python34Scriptsdjango-admin.py
    Installing django-admin-script.py script to C:Python34Scripts
    Installing django-admin.exe script to C:Python34Scripts
    Installing django-admin.exe.manifest script to C:Python34Scripts

    Installed c:python34libsite-packagesdjango-1.9.6-py3.4.egg
    Processing dependencies for Django==1.9.6
    Finished processing dependencies for Django==1.9.6

    ---------------------------------------------------------------------------------------------------------------------------------

    系统变量加入以下路径:
    C:Python34;C:Python34Scripts;C:Python34Libsite-packagesDjango-1.9.6-py3.4.eggdjangoin

    测试:

    C:UsersAdministrator>cd C:Python34Libsite-packagesDjango-1.9.6-py3.4.eggdjangoin
    
    C:Python34Libsite-packagesDjango-1.9.6-py3.4.eggdjangoin>python Django-admin.py  startproject  testemo
    
    C:Python34Libsite-packagesDjango-1.9.6-py3.4.eggdjangoin>cd testemo
    
    C:Python34Libsite-packagesDjango-1.9.6-py3.4.eggdjangoin	estemo> python manage.py runserver
    Performing system checks...
    
    System check identified no issues (0 silenced).
    
    You have unapplied migrations; your app may not work properly until they are applied.
    Run 'python manage.py migrate' to apply them.
    May 21, 2016 - 13:17:23
    Django version 1.9.6, using settings 'testemo.settings'
    Starting development server at http://127.0.0.1:8000/
    Quit the server with CTRL-BREAK.
    Not Found: /
    [21/May/2016 13:18:38] "GET / HTTP/1.1" 200 1767
    Not Found: /favicon.ico
    [21/May/2016 13:18:39] "GET /favicon.ico HTTP/1.1" 404 1937
    ie:
    http://127.0.0.1:8000/


    It worked! Congratulations on your first Django-powered page. Of course, you haven't actually done any work yet. Next, start your first app by running python manage.py startapp [app_label]. You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work!
  • 相关阅读:
    从搭eclipse环境到导入maven工程
    基于jquery的多选下拉列框再次更改样式和交互
    BootStrap的typeahead使用过程中遇到的问题
    Vue webapp项目通过HBulider打包原生APP
    微信相机
    前端小新手,记录项目中不懂的问题
    判断pdf、word文档、图片等文件类型(格式)、大小的简便方法
    JavaScript学习笔记(一)——Map、Set与iterable
    oracle nvl函数
    mybaits中主键自动生成并返回主键
  • 原文地址:https://www.cnblogs.com/zengkefu/p/5514405.html
Copyright © 2020-2023  润新知