Ticket #3903 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 months ago

Bad syntax in setup.py

Reported by: Miniwark Assigned to: rjollos
Priority: high Component: TracDownloaderPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

I am testing TracDownloaderPlugin on Trac 0.11 as the regular downloadable version did not work beacause of ticket #3362 i have download the revision r4492 from subversion.

When i try to create an egg flie with :

python setup.py bdist_egg

I have the following error :

  File "setup.py", line 23
    extras_require = {},
                 ^
SyntaxError: invalid syntax

In setup.py commenting install_requires section with # insted of triple comas solve the problem.

in setup.py replace

  """install_requires = ['PyCAPTCHA >= 0.4',
                         'PIL >= 1.1.5'],"""

by

  #install_requires = ['PyCAPTCHA >= 0.4',
  #                       'PIL >= 1.1.5'],

PS1: Maybe extras_require section is a good place for PyCAPTCHA require

PS2: maybe this ticket is duplicate with #3446

Attachments

Change History

02/02/12 22:18:13 changed by rjollos

  • owner changed from peca to rjollos.
  • status changed from new to assigned.

Fixed in #8515.

02/02/12 22:18:21 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to duplicate.

Add/Change #3903 (Bad syntax in setup.py)




Change Properties
Action