andreasgrill / auto-selfcontrol

Small utility to schedule start and stop times of SelfControl
MIT License
305 stars 37 forks source link

install doesn't work #39

Open lebed2045 opened 5 years ago

lebed2045 commented 5 years ago
~/auto-selfcontrol $ sudo /usr/bin/python setup.py install
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to auto_selfcontrol.egg-info/requires.txt
writing auto_selfcontrol.egg-info/PKG-INFO
writing top-level names to auto_selfcontrol.egg-info/top_level.txt
writing dependency_links to auto_selfcontrol.egg-info/dependency_links.txt
reading manifest file 'auto_selfcontrol.egg-info/SOURCES.txt'
writing manifest file 'auto_selfcontrol.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.13-intel/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build/bdist.macosx-10.13-intel/egg
creating build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying auto_selfcontrol.egg-info/PKG-INFO -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying auto_selfcontrol.egg-info/SOURCES.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying auto_selfcontrol.egg-info/dependency_links.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying auto_selfcontrol.egg-info/requires.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying auto_selfcontrol.egg-info/top_level.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/auto_selfcontrol-1.0-py2.7.egg' and adding 'build/bdist.macosx-10.13-intel/egg' to it
removing 'build/bdist.macosx-10.13-intel/egg' (and everything under it)
Processing auto_selfcontrol-1.0-py2.7.egg
Removing /Library/Python/2.7/site-packages/auto_selfcontrol-1.0-py2.7.egg
Copying auto_selfcontrol-1.0-py2.7.egg to /Library/Python/2.7/site-packages
auto-selfcontrol 1.0 is already the active version in easy-install.pth

Installed /Library/Python/2.7/site-packages/auto_selfcontrol-1.0-py2.7.egg
Processing dependencies for auto-selfcontrol==1.0
Searching for pyobjc
Reading https://pypi.python.org/simple/pyobjc/
Best match: pyobjc 5.1.2
Downloading https://files.pythonhosted.org/packages/2c/23/fb8b1fc0ed318c53007e1030489617b3ccb43cac21e02e0aae02e97970e4/pyobjc-5.1.2.tar.gz#sha256=ccfc96382bf04977c68a06733f1d7499a7ddeb1f74760e3f8de483f9a542e691
Processing pyobjc-5.1.2.tar.gz
Writing /tmp/easy_install-ihVmYl/pyobjc-5.1.2/setup.cfg
Running pyobjc-5.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ihVmYl/pyobjc-5.1.2/egg-dist-tmp-nDT9Xs
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
error: Setup script exited with error in pyobjc setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in pyobjc-framework-libdispatch==5.1.2;platform_release>="12.0" at ;platform_release>="12.0"
alexriabtsev commented 4 years ago

I have the same error. Any fix?

sjorsvanheuveln commented 4 years ago

I have the same issue.