Created
October 25, 2016 11:52
-
-
Save altendky/0c7b3c3b1565adc40c8d6cca8322080d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) C:\Users\IEUser\Desktop\src\ST>python setup.py develop | |
running develop | |
running egg_info | |
writing entry points to EPyQ.egg-info\entry_points.txt | |
writing EPyQ.egg-info\PKG-INFO | |
writing requirements to EPyQ.egg-info\requires.txt | |
writing dependency_links to EPyQ.egg-info\dependency_links.txt | |
writing top-level names to EPyQ.egg-info\top_level.txt | |
reading manifest file 'EPyQ.egg-info\SOURCES.txt' | |
writing manifest file 'EPyQ.egg-info\SOURCES.txt' | |
running build_ext | |
Creating c:\users\ieuser\desktop\src\st\venv\lib\site-packages\EPyQ.egg-link (link to .) | |
Adding EPyQ 0.1 to easy-install.pth file | |
Installing epyq-script.pyw script to C:\Users\IEUser\Desktop\src\ST\venv\Scripts | |
Installing epyq.exe script to C:\Users\IEUser\Desktop\src\ST\venv\Scripts | |
Installing epyq.exe.manifest script to C:\Users\IEUser\Desktop\src\ST\venv\Scripts | |
Installed c:\users\ieuser\desktop\src\st | |
Processing dependencies for EPyQ==0.1 | |
Searching for pyqt5-tools | |
Reading https://pypi.python.org/simple/pyqt5-tools/ | |
No local packages or working download links found for pyqt5-tools | |
error: Could not find suitable distribution for Requirement.parse('pyqt5-tools') | |
(venv) C:\Users\IEUser\Desktop\src\ST>pip install pyqt5-tools | |
Collecting pyqt5-tools | |
Using cached pyqt5_tools-5.7.dev9-cp35-none-win32.whl | |
Installing collected packages: pyqt5-tools | |
Successfully installed pyqt5-tools-5.7.dev9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import platform | |
from setuptools import setup, find_packages | |
conditional_requires = [] | |
arch = platform.architecture() | |
if arch[1].lower().startswith('win'): | |
conditional_requires.append('pyqt5-tools') | |
setup( | |
name="EPyQ", | |
version="0.1", | |
author="EPC Power Corp.", | |
classifiers=[ | |
("License :: OSI Approved :: " | |
"GNU General Public License v2 or later (GPLv2+)") | |
], | |
packages=find_packages(), | |
entry_points={'gui_scripts': ['epyq = epyq.__main__:main']}, | |
install_requires=[ | |
'pyqt5', | |
*conditional_requires | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment