Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Does python have built command for package skeleton creation?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  21 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
xliiv  
View profile  
 More options Sep 21 2012, 6:07 am
Newsgroups: comp.lang.python
From: xliiv <tymoteusz.jankow...@gmail.com>
Date: Fri, 21 Sep 2012 03:07:56 -0700 (PDT)
Local: Fri, Sep 21 2012 6:07 am
Subject: Does python have built command for package skeleton creation?
Like the topic.. . I found this:

http://learnpythonthehardway.org/book/ex46.html

it seems fine, but shouldn't be an interactive (with CLI API) script creating that? It's a lot of effort for common work.

I can contribute but i have to know that i'm not reinvent a wheel.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tarek Ziadé  
View profile  
 More options Sep 21 2012, 7:08 am
Newsgroups: comp.lang.python
From: Tarek Ziadé <ta...@ziade.org>
Date: Fri, 21 Sep 2012 13:08:49 +0200
Local: Fri, Sep 21 2012 7:08 am
Subject: Re: Does python have built command for package skeleton creation?
On 9/21/12 12:07 PM, xliiv wrote:
> Like the topic.. . I found this:

> http://learnpythonthehardway.org/book/ex46.html

> it seems fine, but shouldn't be an interactive (with CLI API) script creating that? It's a lot of effort for common work.

> I can contribute but i have to know that i'm not reinvent a wheel.

Python Paste is probably what you are looking for - see
http://lucasmanual.com/mywiki/PythonPaste for example

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xliiv  
View profile  
 More options Sep 21 2012, 8:14 am
Newsgroups: comp.lang.python
From: xliiv <tymoteusz.jankow...@gmail.com>
Date: Fri, 21 Sep 2012 05:14:36 -0700 (PDT)
Local: Fri, Sep 21 2012 8:14 am
Subject: Re: Does python have built command for package skeleton creation?

It's a nice beast but:
- it's not built in. Should it be? I think it should.
- about readme and manifest.in:
"You could add to your template a file called readme.rst . Inside of it you can add the following code that will generate this:"

i dont want to add, i want it already added :).. readme is something typical, it's not rare habit for some geeks how wants to customize it all!! the same with manifest.in..

what do you think? iteractive creation is big plus..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xliiv  
View profile  
 More options Sep 21 2012, 8:14 am
Newsgroups: comp.lang.python
From: xliiv <tymoteusz.jankow...@gmail.com>
Date: Fri, 21 Sep 2012 05:14:36 -0700 (PDT)
Local: Fri, Sep 21 2012 8:14 am
Subject: Re: Does python have built command for package skeleton creation?

It's a nice beast but:
- it's not built in. Should it be? I think it should.
- about readme and manifest.in:
"You could add to your template a file called readme.rst . Inside of it you can add the following code that will generate this:"

i dont want to add, i want it already added :).. readme is something typical, it's not rare habit for some geeks how wants to customize it all!! the same with manifest.in..

what do you think? iteractive creation is big plus..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tarek Ziadé  
View profile  
 More options Sep 21 2012, 9:04 am
Newsgroups: comp.lang.python
From: Tarek Ziadé <ta...@ziade.org>
Date: Fri, 21 Sep 2012 15:04:30 +0200
Local: Fri, Sep 21 2012 9:04 am
Subject: Re: Does python have built command for package skeleton creation?
On 9/21/12 2:14 PM, xliiv wrote:

> Python Paste is probably what you are looking for - see

> http://lucasmanual.com/mywiki/PythonPaste for example
> It's a nice beast but:
> - it's not built in. Should it be? I think it should.

You can suggest this to python-ideas but I really doubt you will get any
traction. The sdtlib don't get new features these days because it's a burden
to maintain high level tool on a 2 years release cycle

> - about readme and manifest.in:
> "You could add to your template a file called readme.rst . Inside of it you can add the following code that will generate this:"

> i dont want to add, i want it already added :).. readme is something typical, it's not rare habit for some geeks how wants to customize it all!! the same with manifest.in..

> what do you think? iteractive creation is big plus..

I am not sure I get your remark on this. I pointed to this page to show
a typical use case of building Paster Templates, so you can bootstrap
your projects boiler-plate code

So IOW everyone's free to create any kind of template :)

Cheers
Tarek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xliiv  
View profile  
 More options Sep 21 2012, 9:13 am
Newsgroups: comp.lang.python
From: xliiv <tymoteusz.jankow...@gmail.com>
Date: Fri, 21 Sep 2012 06:13:35 -0700 (PDT)
Local: Fri, Sep 21 2012 9:13 am
Subject: Re: Does python have built command for package skeleton creation?

Why is this '2 years release cycle'?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xliiv  
View profile  
 More options Sep 21 2012, 9:13 am
Newsgroups: comp.lang.python
From: xliiv <tymoteusz.jankow...@gmail.com>
Date: Fri, 21 Sep 2012 06:13:35 -0700 (PDT)
Local: Fri, Sep 21 2012 9:13 am
Subject: Re: Does python have built command for package skeleton creation?

Why is this '2 years release cycle'?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Lawrence  
View profile  
 More options Sep 21 2012, 9:50 am
Newsgroups: comp.lang.python
From: Mark Lawrence <breamore...@yahoo.co.uk>
Date: Fri, 21 Sep 2012 14:50:36 +0100
Local: Fri, Sep 21 2012 9:50 am
Subject: Re: Does python have built command for package skeleton creation?
On 21/09/2012 14:13, xliiv wrote:

Because there aren't enough volunteers to get it done any faster?

--
Cheers.

Mark Lawrence.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven D'Aprano  
View profile  
 More options Sep 21 2012, 11:54 am
Newsgroups: comp.lang.python
From: Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>
Date: 21 Sep 2012 15:54:41 GMT
Local: Fri, Sep 21 2012 11:54 am
Subject: Re: Does python have built command for package skeleton creation?

On Fri, 21 Sep 2012 14:50:36 +0100, Mark Lawrence wrote:
> On 21/09/2012 14:13, xliiv wrote:
>> Why is this '2 years release cycle'?

> Because there aren't enough volunteers to get it done any faster?

Because if it were any faster, it would piss off a lot of people.

Python's release cycle is actually closer to 18 months for minor releases
(3.2 -> 3.3, for example), and 10 years for major releases (2.x -> 3.x).
But consider, C and C++ don't have minor releases *at all*. The last
versions of those two languages are C99 and C+98 -- that's FOURTEEN YEARS
since the last version of C++. And Java hasn't had a major feature update
since 2006.

For a programming language with a lot of corporate use, Python already
seems like it changes at the drop of a hat.

--
Steven


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Angel  
View profile  
 More options Sep 21 2012, 1:27 pm
Newsgroups: comp.lang.python
From: Dave Angel <d...@davea.name>
Date: Fri, 21 Sep 2012 13:26:32 -0400
Local: Fri, Sep 21 2012 1:26 pm
Subject: Re: Does python have built command for package skeleton creation?
On 09/21/2012 11:54 AM, Steven D'Aprano wrote:

> On Fri, 21 Sep 2012 14:50:36 +0100, Mark Lawrence wrote:

>> On 21/09/2012 14:13, xliiv wrote:
>>> Why is this '2 years release cycle'?

>> Because there aren't enough volunteers to get it done any faster?
> Because if it were any faster, it would piss off a lot of people.

> Python's release cycle is actually closer to 18 months for minor releases
> (3.2 -> 3.3, for example), and 10 years for major releases (2.x -> 3.x).
> But consider, C and C++ don't have minor releases *at all*. The last
> versions of those two languages are C99 and C+98 -- that's FOURTEEN YEARS
> since the last version of C++. And Java hasn't had a major feature update
> since 2006.

"C++0x was the working name of a new ISO C++ standard, which was then
released in 2011 as C++11  ..."
   according to  http://gcc.gnu.org/projects/cxx0x.html

And it replaced C++03, released in 2003.

> For a programming language with a lot of corporate use, Python already
> seems like it changes at the drop of a hat.

Correct.

--

DaveA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven D'Aprano  
View profile  
 More options Sep 21 2012, 1:31 pm
Newsgroups: comp.lang.python
From: Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>
Date: 21 Sep 2012 17:31:05 GMT
Local: Fri, Sep 21 2012 1:31 pm
Subject: Re: Does python have built command for package skeleton creation?

On Fri, 21 Sep 2012 13:26:32 -0400, Dave Angel wrote:
> On 09/21/2012 11:54 AM, Steven D'Aprano wrote:
>> Python's release cycle is actually closer to 18 months for minor
>> releases (3.2 -> 3.3, for example), and 10 years for major releases
>> (2.x -> 3.x). But consider, C and C++ don't have minor releases *at
>> all*. The last versions of those two languages are C99 and C+98 --
>> that's FOURTEEN YEARS since the last version of C++. And Java hasn't
>> had a major feature update since 2006.

> "C++0x was the working name of a new ISO C++ standard, which was then
> released in 2011 as C++11  ..."
>    according to  http://gcc.gnu.org/projects/cxx0x.html

> And it replaced C++03, released in 2003.

I stand corrected, thank you.

--
Steven


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Angelico  
View profile  
 More options Sep 21 2012, 1:44 pm
Newsgroups: comp.lang.python
From: Chris Angelico <ros...@gmail.com>
Date: Sat, 22 Sep 2012 03:44:55 +1000
Local: Fri, Sep 21 2012 1:44 pm
Subject: Re: Does python have built command for package skeleton creation?
On Sat, Sep 22, 2012 at 1:54 AM, Steven D'Aprano

<steve+comp.lang.pyt...@pearwood.info> wrote:
> But consider, C and C++ don't have minor releases *at all*. The last
> versions of those two languages are C99 and C+98 -- that's FOURTEEN YEARS
> since the last version of C++. And Java hasn't had a major feature update
> since 2006.

> For a programming language with a lot of corporate use, Python already
> seems like it changes at the drop of a hat.

Hang on, you're conflating the language and its implementation. C and
C++ don't have minor releases, because you're looking only at the
language. On the other hand, gcc has major.minor.revision releases,
because it's possible for the compiler to have trivial bugs that merit
a small bugfix, or minor changes that perhaps enhance the stdlib.

The way I see it, a Python minor release shouldn't normally be a
problem to an active developer, but is too big a change to push
quietly to active scripts. That's a lot smaller than a release of a
new C/C++ spec; more akin to the next version of Microsoft Visual C++,
which comes out every couple of years ish. And as DaveA (no relation
to me, but I love the coincidence of surname AND signature style)
pointed out, there have been C++ spec updates since 98.

Python's release schedule is plenty fast enough. It's already
outstripping the packagers in Debian and Red Hat. Fortunately it's
pretty easy to whip up your own Python straight from source and 'make
altinstall' to keep things happily parallel. You want faster releases?
You got 'em.

ChrisA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven D'Aprano  
View profile  
 More options Sep 21 2012, 9:43 pm
Newsgroups: comp.lang.python
From: Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>
Date: 22 Sep 2012 01:43:05 GMT
Local: Fri, Sep 21 2012 9:43 pm
Subject: Re: Does python have built command for package skeleton creation?

On Sat, 22 Sep 2012 03:44:55 +1000, Chris Angelico wrote:
> On Sat, Sep 22, 2012 at 1:54 AM, Steven D'Aprano
> <steve+comp.lang.pyt...@pearwood.info> wrote:
>> But consider, C and C++ don't have minor releases *at all*. The last
>> versions of those two languages are C99 and C+98 -- that's FOURTEEN
>> YEARS since the last version of C++. And Java hasn't had a major
>> feature update since 2006.

>> For a programming language with a lot of corporate use, Python already
>> seems like it changes at the drop of a hat.

> Hang on, you're conflating the language and its implementation.

No I'm not. CPython is the reference implementation of Python the
language. There is no ISO standard for Python (nor is there likely to be
any time soon) so Python the language is more-or-less what CPython the
implementation does.

[...]

> Python's release schedule is plenty fast enough. It's already
> outstripping the packagers in Debian and Red Hat.

And has for a long time, well back to Python 1.5 days if I remember
correctly.

> Fortunately it's
> pretty easy to whip up your own Python straight from source and 'make
> altinstall' to keep things happily parallel. You want faster releases?
> You got 'em.

But not faster than ≈18 months between minor releases. Not unless you
fork and do it yourself.

--
Steven


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Angelico  
View profile  
 More options Sep 21 2012, 10:00 pm
Newsgroups: comp.lang.python
From: Chris Angelico <ros...@gmail.com>
Date: Sat, 22 Sep 2012 12:00:15 +1000
Local: Fri, Sep 21 2012 10:00 pm
Subject: Re: Does python have built command for package skeleton creation?
On Sat, Sep 22, 2012 at 11:43 AM, Steven D'Aprano

<steve+comp.lang.pyt...@pearwood.info> wrote:
> On Sat, 22 Sep 2012 03:44:55 +1000, Chris Angelico wrote:

>> On Sat, Sep 22, 2012 at 1:54 AM, Steven D'Aprano
>> <steve+comp.lang.pyt...@pearwood.info> wrote:
>>> For a programming language with a lot of corporate use, Python already
>>> seems like it changes at the drop of a hat.

>> Hang on, you're conflating the language and its implementation.

> No I'm not. CPython is the reference implementation of Python the
> language. There is no ISO standard for Python (nor is there likely to be
> any time soon) so Python the language is more-or-less what CPython the
> implementation does.

True, though not entirely; there are plenty of CPython behaviours that
aren't strictly specified, and other Pythons don't have to comply.

>> Fortunately it's
>> pretty easy to whip up your own Python straight from source and 'make
>> altinstall' to keep things happily parallel. You want faster releases?
>> You got 'em.

> But not faster than ≈18 months between minor releases. Not unless you
> fork and do it yourself.

Why wait for a release? Just build with whatever patches you want to
build with. That's what I do with a lot of oddments of software. Well,
actually, what I tend to do is simply build HEAD (or whatever hg calls
it) as of when I want it, and update whenever I feel like it. :)

ChrisA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
alex23  
View profile  
 More options Sep 23 2012, 11:59 pm
Newsgroups: comp.lang.python
From: alex23 <wuwe...@gmail.com>
Date: Sun, 23 Sep 2012 20:59:37 -0700 (PDT)
Local: Sun, Sep 23 2012 11:59 pm
Subject: Re: Does python have built command for package skeleton creation?
On Sep 21, 10:14 pm, xliiv <tymoteusz.jankow...@gmail.com> wrote:

> On Friday, September 21, 2012 1:08:23 PM UTC+2, Tarek Ziadé wrote:
> > Python Paste is probably what you are looking for - see
> It's a nice beast but:
> - it's not built in. Should it be? I think it should.

There needs to be a distinction at some point between Python as
runtime and development environments. If you assume that there are
more users of Python code than developers, then cluttering it with
more developer-only tools is a waste of resources for those end users.

Also: developers are fussy about their environments. One person's vi
is another person's emacs. We keep various package skeletons in our
git repository, and that works well for us, so adding Paste to Python
is just more useless kruft from our perspective.

And: easy_install/pip install paste isn't exactly crippling to type.

> - about readme and manifest.in:
> "You could add to your template a file called readme.rst"
> i dont want to add, i want it already added :)

If you'd just did as they asked, you'd already have this issue
resolved by now.

If you're waiting for the standard library to scratch your itch for
you, you're going to be waiting for a long, _long_ time.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Terry Reedy  
View profile  
 More options Sep 24 2012, 12:29 am
Newsgroups: comp.lang.python
From: Terry Reedy <tjre...@udel.edu>
Date: Mon, 24 Sep 2012 00:28:43 -0400
Local: Mon, Sep 24 2012 12:28 am
Subject: Re: Does python have built command for package skeleton creation?
On 9/23/2012 11:59 PM, alex23 wrote:

Batteries are batteries, not flashlights, phone, radios, toys, clickers,
etc.

--
Terry Jan Reedy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
alex23  
View profile  
 More options Sep 24 2012, 1:00 am
Newsgroups: comp.lang.python
From: alex23 <wuwe...@gmail.com>
Date: Sun, 23 Sep 2012 22:00:01 -0700 (PDT)
Local: Mon, Sep 24 2012 1:00 am
Subject: Re: Does python have built command for package skeleton creation?
On Sep 24, 2:29 pm, Terry Reedy <tjre...@udel.edu> wrote:

> Batteries are batteries, not flashlights, phone, radios, toys, clickers,
> etc.

I decided not to mention "venv" as it undermines my rant a little :)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ramchandra Apte  
View profile  
 More options Sep 24 2012, 1:33 am
Newsgroups: comp.lang.python
From: Ramchandra Apte <maniandra...@gmail.com>
Date: Sun, 23 Sep 2012 22:33:07 -0700 (PDT)
Local: Mon, Sep 24 2012 1:33 am
Subject: Re: Does python have built command for package skeleton creation?

Do remember to include laptops.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ramchandra Apte  
View profile  
 More options Sep 24 2012, 1:33 am
Newsgroups: comp.lang.python
From: Ramchandra Apte <maniandra...@gmail.com>
Date: Sun, 23 Sep 2012 22:33:07 -0700 (PDT)
Local: Mon, Sep 24 2012 1:33 am
Subject: Re: Does python have built command for package skeleton creation?

Do remember to include laptops.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
88888 Dihedral  
View profile  
 More options Sep 24 2012, 2:54 pm
Newsgroups: comp.lang.python
From: 88888 Dihedral <dihedral88...@googlemail.com>
Date: Mon, 24 Sep 2012 11:54:07 -0700 (PDT)
Local: Mon, Sep 24 2012 2:54 pm
Subject: Re: Does python have built command for package skeleton creation?
xliiv於 2012年9月21日星期五UTC+8下午9時13分38秒寫道:

This is good in python to focus on comming HW patforms with
varied parameters as the industry is advacing toward  all way
to avoid a heavy landing of the IT and electronics industry.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
88888 Dihedral  
View profile  
 More options Sep 24 2012, 2:54 pm
Newsgroups: comp.lang.python
From: 88888 Dihedral <dihedral88...@googlemail.com>
Date: Mon, 24 Sep 2012 11:54:07 -0700 (PDT)
Local: Mon, Sep 24 2012 2:54 pm
Subject: Re: Does python have built command for package skeleton creation?
xliiv於 2012年9月21日星期五UTC+8下午9時13分38秒寫道:

This is good in python to focus on comming HW patforms with
varied parameters as the industry is advacing toward  all way
to avoid a heavy landing of the IT and electronics industry.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »