Modify

Opened 9 years ago

Closed 5 years ago

#3903 closed defect (duplicate)

Bad syntax in setup.py

Reported by: Miniwark Owned by: Ryan J Ollos
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 (0)

Change History (2)

comment:1 Changed 5 years ago by Ryan J Ollos

Owner: changed from Petr Škoda to Ryan J Ollos
Status: newassigned

Fixed in #8515.

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: duplicate
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.