473,654 Members | 3,062 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python and version control

Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it's easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl

Jul 18 '05 #1
13 2972
Carl <ph***********@ chello.se> writes:

[...]
I am a keen user of Emacs, but version control, which is very simple
when you are in a Linux environment, for example, is not a
straightforward in Windows.


Emacs + CVS (or CVSNT) should work just fine in Windows either.

--
Sergei.
Jul 18 '05 #2
Carl wrote:
What is the ultimate version control tool for Python if you are working in a
Windows environment?

What is the most common adopted approach among Python developers working in
a Windows environment?


I never liked coupling the two together like that. Instead
I use tools like TortoiseCVS or (now) TortoiseSVN with a
Subversion repository. These things let you access revision
control features from context (right-button) menus right in
Windows Explorer, as you browse the file system.

The best part is that they work regardless of which editor or
other tool you have to work with, and you aren't at the mercy
of a greedy corporation that decides it's time for you to
upgrade so you can give them more money. You can also use
the command line tools when appropriate, of course.

--

BTW, as a general caution: while Visual Source Safe may be
"easy", it's also dangerous and has been known to corrupt
many a code base, mine included. I wouldn't touch the product
with a virtual ten-foot pole, and I strongly recommend to anyone
who is stuck using it -- *especially in a multi-programmer
environment* -- that they immediately abandon it in favour
of something more stable. (Google can fill in background detail
for anyone interested.)

-Peter
Jul 18 '05 #3
Carl wrote:
Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it's easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl

You can integrate PythonWin and version control if you know the
appropriate incantation. Vss used to work fine, but I upgraded and
couldn't be bothered to go through the installation steps again.

regards
Steve

Jul 18 '05 #4
Carl wrote:
Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it's easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl


I don't know that you'll find a common approach. I use Subversion for
version control. For larger projects, I use Eclipse with the Pydev
plugin for editing, and the Subclipse plugin for talking to Subversion.
For smaller things, I usually just edit with SciTE and use the
TortoiseSVN Explorer extension or the command-line utilities for
checkins and updates.

Peace,
Joe

Jul 18 '05 #5
In article <ma************ *************** ************@py thon.org>,
gm**********@jo efrancia.com says...
I don't know that you'll find a common approach. I use Subversion for
version control. For larger projects, I use Eclipse with the Pydev
plugin for editing, and the Subclipse plugin for talking to Subversion.
For smaller things, I usually just edit with SciTE and use the
TortoiseSVN Explorer extension or the command-line utilities for
checkins and updates.

Peace,
Joe

Hi Joe,

I'm curious. Why do you only use Eclipse for big projects?
Jul 18 '05 #6
Carl
What is the ultimate version control tool for Python if you are working
in a
Windows environment?


We use JEDI VCS (open source, free). To be fair, JEDI VCS actually
integrates into the Delphi IDE, which is what we use mostly. However, the
standard installation also installs a standalone client (as opposed to the
IDE client) that you can use for anything. Actually, we use the
standalone client for latex documentation, so I know it works well for
non-Delphi stuff.

The JEDI VCS server download (now) contains an embedded firebird database,
which makes setting up the whole server thing a total breeze. I just did
it a few days ago, took all of 2 minutes to set up the server and start
the service (and send a mail out to everyone asking them to install the
new client). Firebird is based on Interbase, if that means anything to
you.

You get full access controls (check-in/check-out), version history,
rollbacks, milestones, integrated diff, check-in requests, per-file
check-in/check-out comments, automated database backup, and so on. I
cannot recommend it highly enough actually :) Though we use it all the
time, we hardly think about it much, which is a really great feature for
this type of thing.

Of course, I have only used JEDI VCS, so I have nothing to compare it to:
ymmv.

keep well
Caleb
Jul 18 '05 #7
Carl wrote:
What is the ultimate version control tool for Python if you are working in a
Windows environment?


I would very much recommend Subversion. It's in no way specific to either
Windows or Python, but it's a wonderful tool. If you've ever used CVS, you'll
feel right at home. Or after 10 minutes of learning the commands, that is.

And as someone already suggested, TortoiseSVN is a great front-end for SVN. It
integrates with the Windows shell very nicely.

http://subversion.tigris.org/
http://tortoisesvn.tigris.org/

--
Timo Virkkala
Jul 18 '05 #8
I'll throw in my reccomendation for svn as well. It just works.

On Wed, 09 Feb 2005 14:01:33 -0800 (PST), Timo Virkkala <a@a.invalid> wrote:
Carl wrote:
What is the ultimate version control tool for Python if you are working in a
Windows environment?


I would very much recommend Subversion. It's in no way specific to either
Windows or Python, but it's a wonderful tool. If you've ever used CVS, you'll
feel right at home. Or after 10 minutes of learning the commands, that is.

And as someone already suggested, TortoiseSVN is a great front-end for SVN. It
integrates with the Windows shell very nicely.

http://subversion.tigris.org/
http://tortoisesvn.tigris.org/

--
Timo Virkkala
--
http://mail.python.org/mailman/listinfo/python-list

--
Thomas G. Willis
http://paperbackmusic.net
Jul 18 '05 #9
Chris wrote:

Hi Joe,

I'm curious. Why do you only use Eclipse for big projects?


Habit, mainly; plus it's easier for one-offs and single-file scripts to
just right-click a file in Explorer and "Edit with ScITE" and work from
there. And to further complicate matters, when in FreeBSD or Linux,
Eric3 and Kate fill the same roles as Eclipse and SciTE in Windows-land.

Peace,
Joe
--
Soraia - http://www.soraia.com

Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1560
by: Fuzzyman | last post by:
It's finally happened, `Movable Python <http://www.voidspace.org.uk/python/movpy/>`_ is finally released. Versions for Python 2.3 & 2.4 are available from `The Movable Python Shop <http://voidspace.tradebit.com/groups.php>`_. The cost is £5 per distribution, payment by PayPal. £1 from every distribution goes to support the development of `SPE <http://pythonide.stani.be/>`_, the Python IDE.
53
4340
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I would welcome comments and corrections, and would be happy to contribute some version of this to the Python website if it is of interest. ===
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8708
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8594
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7307
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1596
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.