Windows 下安装ReText
打算使用MarkDown了,群友推荐使用ReText,基于Python的,同时依赖了Python的几个包,通过easystall可以方便地安装,同时制作了快捷启动方式,网上找了篇文章以备忘。
Installation
- Download and install the latest version of Python (3.3.0: x86 or amd64).
- Download and install PyQt for your Python version from riverbankcomputing.co.uk.
Time to update your computer's Environmental Variables:
- Click Start, right-click My Computer and select Properties.
- Click Environment Variables.
For System Variables, click New. Then add:
PYTHONPATH=C:\Python33\Lib\;C:\Python33\Lib\site-packages\
Select the System Variable
PATH, click Edit.- Update the PATH by adding
C:\Python33;C:\Python33\Lib\site-packages\PyQt4\bin;to the front of it, like so:PATH=C:\Python33;C:\Python33\Lib\site-packages\PyQt4\bin;etc.
Download and run distribute_setup.py which will install
distributepackage, which provideseasy_installtool.Time to install additional Python libraries.
- Select Start -> Run
cmdthencd \Python33\Tools\Scripts. Enter:
easy_install Pygments
easy_install ElementTree
easy_install Markdown
easy_install docutils
easy_install Markups
- Select Start -> Run
Download and unpack ReText
- Download and unpack ReText icons pack
- Place the unpacked icons into the
ReText\iconsfolder - Run
cmdthen cd to the ReText folder. Then enter:python3 retext.py
Creating a Launch Shortcut
If you wish to ReText to have a Shortcut to start it. Then you can pin it to your Start menu, copy to your Desktop or Quick Launch, etc.
For local installs
- Right-click drag-n-drop the retext.py and select "Create shortcuts here"
- Adjust the properties of the shortcut
- Change the Shortcut tab: Target:
C:\python33\pythonw.exeretext.py's path; Run = minimized ; Change Icon (to whatever you like). - Change the General tab: rename it to "ReText"
If you wish for the python shell box to not appear, you should follow the USB Stick Batch file instructions at the moment.
For USB Sticks
- Copy
C:\python33to USB Stick, sayU:\python33 - Put ReText on the stick
Create the following BAT file:
retext.batREM ReText Startup batch file
REM -------------------------
REM determine drive letter of batchfile
for /f "delims=\" %%d in ('cd') do set curdrv=%%d
echo %curdrv%
REM Set ENVs using current drive letter if ENVs not set for USB Sticks
REM REM them out if you have the ENVs set
set PYTHONPATH=%curdrv%\Python33\Lib;%curdrv%\Python33\Lib\site-packages
set PATH=%curdrv%\Python33;%curdrv%\Python33\Lib\site-packages\PyQt4\bin;%PATH%
REM Start ReText
start /B %curdrv%\Python33\pythonw.exe %CD%\retext.pyRight-click drag-n-drop the retext.bat and select "Create shortcuts here"
- Adjust the properties of the shortcut
- Change the Shortcut tab: Run = minimized ; Change Icon (to whatever you like)
- Change the General tab: rename it to "ReText"
Notables
- Install performed without a proxy.
easy_installrequires an internet connection. You're on your own dealing with a proxy. As there's really no Registry Entries, you could install else where and copy to USB Stick and create the batch file. - Tested on Windows XP 32-bit. Untested with ActiveState Python, so adjust your steps accordingly.
Windows 下安装ReText的更多相关文章
- 在windows下安装gulp —— 基于 Gulp 的前端集成解决方案(一)
相关连接导航 在windows下安装gulp —— 基于 Gulp 的前端集成解决方案(一) 执行 $Gulp 时发生了什么 —— 基于 Gulp 的前端集成解决方案(二) 常用 Gulp 插件汇总 ...
- Windows 下安装 MongoDB
Windows 下安装 MongoDB 的步骤:1.官网www.mongodb.com下载安装包或zip包2.解压下载的文件到文件夹 D:\mongo .3.使用管理员权限打开CMD,导航到目录 D: ...
- Coreseek Windows下安装调试
由于项目需要全文检索,后面就去网上查了下资料,找到了Sphinx[中文是狮身人面像]这个全文检索引擎,听说挺好用的,不过没有中文分词.后面又去找了一下,找到了Coreseek,一款中文全文检索/搜索软 ...
- 从零开始学 Java - Windows 下安装 Tomcat
谁都想分一杯羹 没有一个人是真正的无私到伟大的,我们试着说着做自己,与人为善,世界和平!殊不知,他们的真实目的当你知道后,你会被恶心到直摇头并下意识地迅速跑开,下辈子都不想见到他.不过,他没错,你也没 ...
- 从零开始学 Java - Windows 下安装 JDK
关于未来 "我要死在火星.在我死去的时候能够想着人类能有一个美好的未来--有可持续的能源,同时能够殖民其他的星球来避免人类灭绝的最坏可能." 官网下载 直接打开官网:http:// ...
- windows下安装nginx
说起开发,自己感到非常惭愧,由于公司让我给<绿电侠>项目写整体架构解决方案,才开始接触nginx这个东东,突然觉得它是一把非常好的利器. 本文主要记录在windows下安装nginx,另参 ...
- Redhat/Ubuntu/Windows下安装Docker
Redhat/Ubuntu/Windows下安装Docker 什么是Docker Docker是Docker.inc公司开源的一个基于LXC技术之上构建的Container容器引擎,基于Go语言并遵从 ...
- Windows下安装Redis
1.首先,Redis官方是支持Linux系统的,我这里不多说,需要的可以参考:http://www.oschina.net/question/12_18065/ 2.Windows 64位下载地址:h ...
- 【转】linux和windows下安装python集成开发环境及其python包
本系列分为两篇: 1.[转]windows和linux中搭建python集成开发环境IDE 2.[转]linux和windows下安装python集成开发环境及其python包 3.windows和l ...
随机推荐
- UGUI Auto Layout 自动布局
Layout Element 首先分配 Minimum Size 如果还有足够空间,分配 Preferred Size 如果还有额外空间,分配 Flexible Size 比较特别的是 Flexibl ...
- 数据类型-DataFrame
数据类型-DataFrame DataFrame是由多个Series数据列组成的表格数据类型,每行Series值都增加了一个共用的索引 既有行索引,又有列索引 行索引,表明不同行,横向索引,叫inde ...
- 数据文件导入mysql时出现中文乱码问题
http://www.ynpxrz.com/n773257c2024.aspx 从shell进入mysql, mysql> show variables like ‘%char%'; +---- ...
- python网络编程——socket基础篇
python的网络编程比c语言简单许多, 封装许多底层的实现细节, 方便程序员使用的同时, 也使程序员比较难了解一些底层的东西. 1 TCP/IP 要想理解socket,首先得熟悉一下TCP/IP协议 ...
- localstorage是什么,它有哪些作用
localStorage作为HTML5本地存储web storage特性的API之一,主要作用是将数据保存在客户端中,而客户端一般是指上海网站设计用户的计算机.在移动设备上,由于大部分浏览器都支持 w ...
- java.lang.IllegalArgumentException: Service not registered
java.lang.IllegalArgumentException: Service not registered 首先检查一下,Service是否在AndroidManifest文件中注册.格式如 ...
- 表单跳转到Struts2
在使用表单跳转到Struts2时,路径一直不正确. login.html如下: <form action="login.do" method=post> 账号:< ...
- win7卸载打印机驱动
无法删除的话停止Print Spooler服务 删除PRINTERS文件夹下面的文件 C:\Windows\System32\spool\PRINTERS目录下所有的文件,重新启动服务:print s ...
- SVN客户端的安装和使用
----------------------siwuxie095 SVN 客户端的安装 1.SVN 客户端,选择 TortoiseSVN,下载链接: https://tortoisesvn.net/d ...
- 验证二叉查找树 · Validate Binary Search Tree
[抄题]: [思维问题]: 不知道要定义resultType, 其实用仔细分析判断条件就行了:是否是bst+最大最小值 类似于平衡二叉树:是否平衡+左右的高度差 [一句话思路]: [输入量]:空: 正 ...