Project

General

Profile

Bug #1245

Installing cdb 1.0 - distutils error

Added by Rogers, Chris about 11 years ago.

Status:
Open
Priority:
Normal
Assignee:
Wilson, Antony
Category:
Python API
Start date:
22 March 2013
Due date:
% Done:

0%

Estimated time:

Description

Runnning the MAUS install script against cdb-1.0 I get an error from distutils distutils.errors.DistutilsFileError: can't move 'dist/cdb-1.0.0.0.tar.gz': not a regular file
. Doesnt seem to affect anything, but might want to be cleared up in the next version? Full output below. Install script attached...

INFO: Found source archive in 'source' directory
INFO: Source archive exists.

INFO: Checking MD5 checksum (otherwise the file didn't
INFO: download properly):

cdb-1.0.0.0.tar.gz: OK

INFO: Unpacking:

INFO: Installing:

running install
running build
running build_py
creating build
creating build/lib
creating build/lib/cdb
copying cdb/_statemachine_supermouse.py -> build/lib/cdb
copying cdb/_base.py -> build/lib/cdb
copying cdb/_beamline_supermouse.py -> build/lib/cdb
copying cdb/_alarmhandler_supermouse.py -> build/lib/cdb
copying cdb/_target_supermouse.py -> build/lib/cdb
copying cdb/_statemachine.py -> build/lib/cdb
copying cdb/_calibration_supermouse.py -> build/lib/cdb
copying cdb/_alarmhandler.py -> build/lib/cdb
copying cdb/_pid_ctrl.py -> build/lib/cdb
copying cdb/_pid_ctrl_supermouse.py -> build/lib/cdb
copying cdb/_cabling_supermouse.py -> build/lib/cdb
copying cdb/_exceptions.py -> build/lib/cdb
copying cdb/_cabling.py -> build/lib/cdb
copying cdb/_calibration.py -> build/lib/cdb
copying cdb/__init__.py -> build/lib/cdb
copying cdb/_target.py -> build/lib/cdb
copying cdb/_geometry_supermouse.py -> build/lib/cdb
copying cdb/_geometry.py -> build/lib/cdb
copying cdb/_beamline.py -> build/lib/cdb
running install_lib
running install_egg_info
Removing /home/cr67/MAUS/maus_merge/third_party/install/lib/python2.7/site-packages/cdb-1.0.0.0-py2.7.egg-info
Writing /home/cr67/MAUS/maus_merge/third_party/install/lib/python2.7/site-packages/cdb-1.0.0.0-py2.7.egg-info
moving dist/cdb-1.0.0.0.tar.gz -> ../dist
Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    move_file("dist/cdb-" + cdb.__version__ + ".tar.gz", "../dist")
  File "/home/cr67/MAUS/maus_merge/third_party/install/lib/python2.7/distutils/file_util.py", line 182, in move_file
    raise DistutilsFileError("can't move '%s': not a regular file" % src)
distutils.errors.DistutilsFileError: can't move 'dist/cdb-1.0.0.0.tar.gz': not a regular file

INFO: The package should be locally build now in your
INFO: third_party directory, which the rest of MAUS will
INFO: find.

Files

44cdb.bash (3.77 KB) 44cdb.bash Rogers, Chris, 22 March 2013 16:52

No data to display

Also available in: Atom PDF