Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup script requires README file, but it does not exist #1

Open
lowdef opened this issue Aug 4, 2017 · 1 comment
Open

setup script requires README file, but it does not exist #1

lowdef opened this issue Aug 4, 2017 · 1 comment

Comments

@lowdef
Copy link

lowdef commented Aug 4, 2017

Trying to run:
soundannotatordemo/soundannotatordemo/democode/UseCase-ProcessingFiles.py

I get the error

File "/home/lowdef/projects/soundannotatordemo/soundannotatordemo/democode/UseCase-ProcessingFiles.py", line 55, in <module>
from  soundannotatordemo.config import runtimeMetaData

ImportError: No module named soundannotatordemo.config

Trying to add on to the path does not fix the problem.

Trying to run:
cd ~/projects/soundannotatordemo
python setup.py build install

gives:

lowdef@ubuntu:~/projects/soundannotatordemo$ python setup.py build install******************************************************************************
Warning: inconsistent subversion versions in working copy!
 GIT version: commit 2d0fd1d5862efb9f977b7845983ce6e0318717da
Author: RonaldAJ <[email protected]>
Date:   Mon May 15 16:38:24 2017 +0200

    Initial upload to public repository.
 

GIT status:
?? soundannotatordemo/config/runtimeMetaData.py

******************************************************************************

outputPathModifier='IrreproducibleResult_GIT_2d0fd1d5862efb9f977b7845983ce6e0318717da'

Traceback (most recent call last):
  File "setup.py", line 27, in <module>
    long_description=read('README'),
  File "setup.py", line 11, in read
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
IOError: [Errno 2] No such file or directory: 'README'

So I added a meaningless README file.

Tried again and added sudo:

lowdef@ubuntu:~/projects/soundannotatordemo$ sudo python setup.py build install

******************************************************************************
Warning: inconsistent subversion versions in working copy!
 GIT version: commit 2d0fd1d5862efb9f977b7845983ce6e0318717da
Author: RonaldAJ <[email protected]>
Date:   Mon May 15 16:38:24 2017 +0200

    Initial upload to public repository.
 

GIT status:
?? README
?? soundannotatordemo/config/runtimeMetaData.py

******************************************************************************

outputPathModifier='IrreproducibleResult_GIT_2d0fd1d5862efb9f977b7845983ce6e0318717da'

running build
...

Now it worked, but the README file was not used.

And warnings about " inconsistent subversion versions in working copy!" and something about "IrreproducibleResult". Meaningful or not?

@RonaldAJ
Copy link

RonaldAJ commented Aug 6, 2017

This shouldn't happen if you have an actual clone of the git repo without uncommitted changes.

Did you clone or download?

For now this is desired behavior. Working without git makes the work you do irreproducible. I'll soon review how the calculated features are stored. That will be a good moment to consider a more deployment only like build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants