Comments (8)
This looks like a bug in distutils that I've run into once or twice in other projects.
If I recall correctly, the fix went into Python 2.7.7, which is pretty old at this point. What version of Python are you using?
from honcho.
$ python2 --version
Python 2.7.14
$ python --version
Python 3.6.5
Reproduced with both.
from honcho.
Interesting. Could you provide some more information about your environment? OS/distro version, setuptools version, etc.?
from honcho.
Gentoo/amd64 (it is the rolling release distro, so cannot provide exact version), setuptools-38.5.1. Clean repo of honcho, latest master. Donβt sure what extra information can help.
from honcho.
I added print of self.data_files
in build_package_data
method in /usr/lib64/python2.7/site-packages/setuptools/command/build_py.py, got the following:
[('honcho', 'honcho', 'build/lib/honcho', ['export']), ('honcho.export', 'honcho/export', 'build/lib/honcho/export', ['templates', 'templates/runit', 'templates/supervisord', 'templates/upstart', 'templates/runit/log', 'templates/runit/run', 'templates/runit/log/run', 'templates/supervisord/supervisord.conf', 'templates/upstart/master.conf', 'templates/upstart/process.conf', 'templates/upstart/process_master.conf'])]
And added printing of traceback right before the raised exception (copy_file
method in /usr/lib64/python2.7/distutils/file_util.py)
File "setup.py", line 79, in <module>
include_package_data=True)
File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib64/python2.7/site-packages/setuptools/command/build_py.py", line 53, in run
self.build_package_data()
File "/usr/lib64/python2.7/site-packages/setuptools/command/build_py.py", line 124, in build_package_data
outf, copied = self.copy_file(srcfile, target)
File "/usr/lib64/python2.7/distutils/cmd.py", line 365, in copy_file
dry_run=self.dry_run)
File "/usr/lib64/python2.7/distutils/file_util.py", line 110, in copy_file
traceback.print_stack()
error: can't copy 'honcho/export': doesn't exist or not a regular file
But I stuck on interpreting it, because lack of knowlegde about python build/packaging system.
from honcho.
I'm afraid I can't reproduce this, even with that version of setuptools
. Does the same thing happen if you run make sdist
?
from honcho.
Nope, make sdist
works good. Okay, it seems to be local system issue and unlikely affect someone else. So, I think the issue can be closed. I still can use old system-wide install of honcho and honcho from pip under virtualenv.
from honcho.
Ok! Thanks for the report nonetheless.
from honcho.
Related Issues (20)
- Virutalenv on Windows + *nix HOT 2
- Multiple Printers to Honcho Manager? HOT 3
- Dashes in process types HOT 1
- Feature proposal: a honcho module API HOT 3
- Project Status of Honcho? HOT 1
- Stop honcho from Makefile HOT 5
- [bug] Subparsers override common common_args HOT 1
- Honcho buffers output to file HOT 2
- Prefix without timestamp
- Py3.8 RuntimeWarning: line buffering isn't supported in binary mode HOT 4
- PROCFILE envvar is respected only if provided on .env file HOT 1
- Why isn't there "stop" command? HOT 4
- New Release? HOT 4
- systemd exporter not working
- honcho run doesn't load .env variables HOT 2
- Prevent existing environment variables from being overriden?
- Thanks HOT 1
- Support color output by processes
- Why start_new_session=True ? (sorry not really an issue)
- start honcho application at start app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honcho.