On page 186. the code does not work

3 except ImportError:
4 from distutils.core import setup
6 config = [
7 ‘description’: ‘My Project’,
8 ‘author’: ‘My Name’,
9 ‘url’: ‘URL to get it at.’,
10 ‘download_url’: ‘Where to download it.’,
11 ‘author_email’: ‘My email.’,
12 ‘version’: ‘0.1’,
13 ‘install_requires’: [‘nose’],
14 ‘packages’: [‘NAME’],
15 ‘scripts’: [],
16 ‘name’: ‘projectname’
17 ]
19 setup(**config)

anybody know why…?

Hi, can you take a photo or screenshot of this page and tell me where you bought it? It has a printing mistake that was only in early versions of the book. The [ ] should be { } like this:

config = {
...
}

appreciate your attention