cate wrote:
I going thru a 101 and came upon this (http://
learnpythonthehardway.org/book/ex46.html)
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'My Project',
'author': 'My Name',
'url': 'URL to get it at.',
'download_url': 'Where to download it.',
'author_email': 'My email.',
'version': '0.1',
'install_requires': ['nose'],
'packages': ['NAME'],
'scripts': [],
'name': 'projectname'
}
setup(**config)
What is the construct **?
Thank you
Hi,
See
http://docs.python.org/tutorial/controlflow.html#more-on-defining-functions
4.7.4. Unpacking Argument Lists
Cheers,
JM
--
http://mail.python.org/mailman/listinfo/python-list