Re: Advice on python version for new project

2016-08-16 Thread Rich Shepard

On Tue, 16 Aug 2016, Avraham Serour wrote:


https://virtualenv.pypa.io/en/stable/


  Thanks, Avraham. Looks interesting.

Rich


Re: Advice on python version for new project

2016-08-16 Thread Avraham Serour
https://virtualenv.pypa.io/en/stable/


On Tue, Aug 16, 2016 at 1:36 AM, Rich Shepard 
wrote:

> On Tue, 16 Aug 2016, Avraham Serour wrote:
>
> you should also create a virtualenv for the project
>>
>
> Avraham,
>
>   OK. Please point me to some docs for this.
>
> Regards,
>
> Rich
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tLn6ZVhPKuAkYr8GAkvk_w2zYvj99i5ZcB06h6nBz%2BrQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard

On Tue, 16 Aug 2016, Avraham Serour wrote:


you should also create a virtualenv for the project


Avraham,

  OK. Please point me to some docs for this.

Regards,

Rich


Re: Advice on python version for new project

2016-08-15 Thread Avraham Serour
you should also create a virtualenv for the project


On Tue, Aug 16, 2016 at 12:07 AM, Rich Shepard 
wrote:

> On Mon, 15 Aug 2016, Rich Shepard wrote:
>
> I'll have to learn how to get it to install in -3.5.2, too.
>>
>
>   Found the answer: pip3.
>
> Rich
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6t%2BkKwuxAc4Co6OxhLqbSHEEgOZK5s%2BbCqMxGKnU9M7o-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard

On Mon, 15 Aug 2016, Rich Shepard wrote:


I'll have to learn how to get it to install in -3.5.2, too.


  Found the answer: pip3.

Rich


Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard

On Mon, 15 Aug 2016, Ari Davidow wrote:


If you're doing a CRM app, many advantages to using Python 3 and not having
to deal with 2's Unicode issues.


Ari,

  This is for my use only. I've outgrown the tools I've been using for my
consulting business and need to consolidate them in a single application.
Will use python3, however.

Thanks,

Rich


Re: Advice on python version for new project

2016-08-15 Thread Rich Shepard

On Mon, 15 Aug 2016, Nick Santos wrote:


I'd recommend Python 3 at this point unless you encounter a good, specific
reason to use Python 2.


Nick,

  I'll take your advice. I have both -2.7.5 and -3.5.2 installed. Using pip
to install django puts it in only the 2.7.5/site/packages/ subdirectory.
I'll have to learn how to get it to install in -3.5.2, too.

Thanks,

Rich


Re: Advice on python version for new project

2016-08-15 Thread Ari Davidow
If you're doing a CRM app, many advantages to using Python 3 and not having
to deal with 2's Unicode issues. Names do not respect a lack of Unicode,
and you want people to be able to cut and paste and/or import names as
people want to spell them.

On Mon, Aug 15, 2016 at 3:37 PM, Rich Shepard 
wrote:

>   The django web site suggests that new projects use python3 unless
> required
> dependencies are not yet available for that version. I've no idea what
> python dependencies I'll need for this job.
>
>   What I want to do is convert an abandoned php application (last upgraded
> a
> decade ago) to django. The application is XRMS, an open source CRM (client
> relationship manangement tool in my case) that is perhaps the only one that
> supposedly supported postgresql via adodb. What I learned over the weekend
> is that I cannot even install it and cannot find the reason why it's not
> connecting to the db back end.
>
>   A posting on a forum thread from 2007 reported that postgres was not
> supported unless all extensions (none of which I need) are installed, and
> all those extensions are hard coded for mysql. I have source code, schema,
> and a very full set of docs; suprizingly complete.
>
>   I suppose there's no reason to not use python-2.7.5 installed here for
> this project, unless you advise me otherwise. I also need some advice and
> guidance on how to proceed on creating a django application from the php
> source files.
>
> TIA,
>
> Rich
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF%2BxBDXL%2BLdu4FHd1HAh%2Bydt1DQefktosXDov%3DATfGX%3Df8rk%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice on python version for new project

2016-08-15 Thread Nick Santos
I'd recommend Python 3 at this point unless you encounter a good, specific
reason to use Python 2. If you use the six 
module, it's really easy to write code that can be used for both versions
without writing conditionals everywhere. If you then encounter something
that forces you to use Python 2, you can downgrade without trouble. But if
this application has anything close to the lifespan of the previous one,
you'll want to be using Python 3 if at all possible. That's without
mentioning the other benefits of Python 3 too!

-Nick 

On Mon, Aug 15, 2016 at 12:37 PM, Rich Shepard 
wrote:

>   The django web site suggests that new projects use python3 unless
> required
> dependencies are not yet available for that version. I've no idea what
> python dependencies I'll need for this job.
>
>   What I want to do is convert an abandoned php application (last upgraded
> a
> decade ago) to django. The application is XRMS, an open source CRM (client
> relationship manangement tool in my case) that is perhaps the only one that
> supposedly supported postgresql via adodb. What I learned over the weekend
> is that I cannot even install it and cannot find the reason why it's not
> connecting to the db back end.
>
>   A posting on a forum thread from 2007 reported that postgres was not
> supported unless all extensions (none of which I need) are installed, and
> all those extensions are hard coded for mysql. I have source code, schema,
> and a very full set of docs; suprizingly complete.
>
>   I suppose there's no reason to not use python-2.7.5 installed here for
> this project, unless you advise me otherwise. I also need some advice and
> guidance on how to proceed on creating a django application from the php
> source files.
>
> TIA,
>
> Rich
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM1S3vCsKv1XKsOnnFtgAomY2G1XnZEpMrzs%3DSdfPyXHCM9PmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.