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

bug report: IOError: [Errno 2] No such file or directory: 'README.rst' when run command "python setup.py bdist_rpm" #6

Closed
vitan opened this issue Apr 19, 2013 · 6 comments

Comments

@vitan
Copy link

vitan commented Apr 19, 2013

DONE: the bug is disappeared in your latest commit as manifest.in involved.
IOError: [Errno 2] No such file or directory: 'README.rst'
when run command "python setup.py bdist_rpm"

@kmike
Copy link
Collaborator

kmike commented Apr 19, 2013

Hi @vitan,

I have no idea what caused this error, and I don't have a rpm-based Linux ready to use to check this error.
Also, it seems that there was plans to remove bdist_rpm from distutils. So if you (or somebody else) could provide a fix for this issue that doesn't break other things, I'll merge it, but otherwise I'm not very motivated to dig in.

There is also https://pypi.python.org/pypi/pypi2rpm/ - maybe it could help?

@vitan
Copy link
Author

vitan commented Apr 19, 2013

Hi, kmike,

I will try to fix this bug ASAP.

Thank you for your reply.

On Fri, Apr 19, 2013 at 4:27 PM, Mikhail Korobov
notifications@github.comwrote:

Hi @vitan https://github.com/vitan,

I have no idea what caused this error, and I don't have a rpm-based Linux
ready to use to check this error.
Also, it seems that there was plans to remove bdist_rpm from distutils. So
if you (or somebody else) could provide a fix for this issue that doesn't
break other things, I'll merge it, but otherwise I'm not very motivated to
dig in.

There is also https://pypi.python.org/pypi/pypi2rpm/ - maybe it could
help?


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-16641586
.

@Yuego
Copy link

Yuego commented Apr 21, 2013

Прошу прощения за мой французский, ибо другими не владею.

Эта ошибка возникает только если выполнить указанную команду будучи вне корня репозитория.

Т. е.

cd django-widget-tweaks
python setup.py bdist_rpm

собирает rpm (хотя и ругается на отсутствующий README или README.txt).

а а вот так:

python django-widget-tweaks/setup.py bdist_rpm

уже не работает. Возникает означенная выше ошибка. С наскока исправить не получилось - одно исправляешь, за ним еще пачка ошибок возникает.

2vitan.

Try to execute the command from the directory django-widget-tweaks.

ЗЫ
Все эксперименты проводились в Gentoo.

@vitan
Copy link
Author

vitan commented Apr 22, 2013

DONE: the bug is disappeared in your latest commit as manifest.in involved.

@kmike
Copy link
Collaborator

kmike commented Apr 22, 2013

Thanks @vitan for bug report&confirmation, and @Yuego for investigation. Should we close this ticket?

@vitan
Copy link
Author

vitan commented Apr 22, 2013

Yes, @kmike , It's time to close that.

@kmike kmike closed this as completed Apr 22, 2013
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

3 participants