-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pyqt-distutils to dependencies and write basic setup.py
- Loading branch information
Showing
12 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"files": [ | ||
[ | ||
"uilib/views/forms/*.ui", | ||
"uilib/views" | ||
] | ||
], | ||
"pyrcc": "pyrcc5", | ||
"pyrcc_options": "", | ||
"pyuic": "pyuic5", | ||
"pyuic_options": "--from-imports" | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from setuptools import setup, find_packages | ||
from uilib.fileIO import appVersionStr | ||
# import build_ui | ||
try: | ||
from pyqt_distutils.build_ui import build_ui | ||
cmdclass = {'build_ui': build_ui} | ||
except ImportError: | ||
build_ui = None # user won't have pyqt_distutils when deploying | ||
cmdclass = {} | ||
|
||
requirements = list(open('requirements.txt').read().splitlines()) | ||
|
||
setup( | ||
name='openMotor', | ||
version=appVersionStr, | ||
packages=find_packages(), | ||
url='https://github.com/reilleya/openMotor', | ||
install_requires=requirements, | ||
long_description=open('README.md').read(), | ||
cmdclass=cmdclass | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.