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.0\setuptools-21.1.0>python setup.py install

Copying setuptools-21.1.0-py3.4.egg to c:\python34\lib\site-packages
Adding setuptools 21.1.0 to easy-install.pth file
Installing easy_install-script.py script to C:\Python34\Scripts
Installing easy_install.exe script to C:\Python34\Scripts
Installing easy_install.exe.manifest script to C:\Python34\Scripts
Installing easy_install-3.4-script.py script to C:\Python34\Scripts
Installing easy_install-3.4.exe script to C:\Python34\Scripts
Installing easy_install-3.4.exe.manifest script to C:\Python34\Scripts

 

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

安装Django:

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

creating 'dist\Django-1.9.6-py3.4.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing Django-1.9.6-py3.4.egg
creating c:\python34\lib\site-packages\Django-1.9.6-py3.4.egg

Extracting Django-1.9.6-py3.4.egg to c:\python34\lib\site-packages

Adding Django 1.9.6 to easy-install.pth file

Installing django-admin.py script to C:\Python34\Scripts
Deleting C:\Python34\Scripts\django-admin.py
Installing django-admin-script.py script to C:\Python34\Scripts
Installing django-admin.exe script to C:\Python34\Scripts
Installing django-admin.exe.manifest script to C:\Python34\Scripts

Installed c:\python34\lib\site-packages\django-1.9.6-py3.4.egg
Processing dependencies for Django==1.9.6
Finished processing dependencies for Django==1.9.6

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

 

系统变量加入以下路径:
C:\Python34;C:\Python34\Scripts;C:\Python34\Lib\site-packages\Django-1.9.6-py3.4.egg\django\bin

 

测试:

C:\Users\Administrator>cd C:\Python34\Lib\site-packages\Django-1.9.6-py3.4.egg\django\bin

C:\Python34\Lib\site-packages\Django-1.9.6-py3.4.egg\django\bin>python Django-admin.py  startproject  testemo

C:\Python34\Lib\site-packages\Django-1.9.6-py3.4.egg\django\bin>cd testemo

C:\Python34\Lib\site-packages\Django-1.9.6-py3.4.egg\django\bin\testemo> 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!

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值