andrewpetrochenkov / osascript.py

:apple: :snake: osascript (AppleScript) python implementation
The Unlicense
36 stars 3 forks source link

Can't install through pip or setup.py, uknown-0.0.0 is installed instead, Python 3.6.2/Mac OS X 10.14.5 #4

Closed AzimovParviz closed 5 years ago

AzimovParviz commented 5 years ago
WARNING: Generating metadata for package osascript produced metadata for project name unknown. Fix your #egg=osascript fragments.

Is what I get when trying to install through pip

When downloading the lastest release from the repo and running setup.py I get this terminal output:

(venv) APAs-MacBook-Pro:osascript.py-2019.4.13 macbookproapa$ python3 setup.py install
running install
running bdist_egg
running egg_info
creating UNKNOWN.egg-info
writing UNKNOWN.egg-info/PKG-INFO
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing top-level names to UNKNOWN.egg-info/top_level.txt
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-intel/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build
creating build/bdist.macosx-10.6-intel
creating build/bdist.macosx-10.6-intel/egg
creating build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying UNKNOWN.egg-info/PKG-INFO -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying UNKNOWN.egg-info/SOURCES.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying UNKNOWN.egg-info/dependency_links.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying UNKNOWN.egg-info/top_level.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/UNKNOWN-0.0.0-py3.6.egg' and adding 'build/bdist.macosx-10.6-intel/egg' to it
removing 'build/bdist.macosx-10.6-intel/egg' (and everything under it)
Processing UNKNOWN-0.0.0-py3.6.egg
Copying UNKNOWN-0.0.0-py3.6.egg to /Users/macbookproapa/PycharmProjects/boorupaper/venv/lib/python3.6/site-packages
Adding UNKNOWN 0.0.0 to easy-install.pth file

Installed /Users/macbookproapa/PycharmProjects/boorupaper/venv/lib/python3.6/site-packages/UNKNOWN-0.0.0-py3.6.egg
Processing dependencies for UNKNOWN==0.0.0
Finished processing dependencies for UNKNOWN==0.0.0
andrewpetrochenkov commented 5 years ago

i can't reproduce error. maybe setup.cfg not exists or invalid ~/.pydistutils.cfg

AzimovParviz commented 5 years ago

Thank you, but I decided to use subprocesses for my needs instead