Menu

#25 simplification of the setup.py while removing the python2.3 support

4.7.1
closed-fixed
None
5
2014-01-16
2013-12-15
No

Hello in the setup.py,I can find this kind of things

The following is not supported by python-2.3:

package_data = {'PyMca': ['attdata/*',

'HTML/.',

'HTML/IMAGES/*',

'HTML/PyMCA_files/*']}

then plenty of code using data_files

do you think that it would be possible to remove the python2.3 support
and use the much efficent package_data code ?

cheers

fred

Discussion

  • Frédéric PICCA

    I can work on a patch for this.
    beware I need to see if it does not brake the packaging :)

     

    Last edit: Frédéric PICCA 2013-12-15
  • Frédéric PICCA

    I will put all my remarks about the setup.py in this bug report.

    my analyse tools complain also about these kind of things which are not used.

        WindowsSDK = os.getenv('WindowsSdkDir')
    
     
  • V. Armando Sole

    V. Armando Sole - 2013-12-16

    I have worked a bit the setup.py
    Still needs some organization, but now the solution to the data directories is cleaner and should also allow to run more tests prior to the installation. You will have to insert the build directory in the path to use the just build PyMca.

    Once PyMca is installed, you should still try to see if the location of the files is correct:

    from PyMca import tests
    tests.testAll()

    Armando

     
  • V. Armando Sole

    V. Armando Sole - 2014-01-16
    • status: unread --> closed-fixed
    • assigned_to: V. Armando Sole
     
  • V. Armando Sole

    V. Armando Sole - 2014-01-16

    Hopefully new setup.py addresses the main issues.

    Please, try to use the new repository at github for reporting issues.

     

Log in to post a comment.