-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install all necessary deps on readthedocs
Fixes problems where inline method docs did not appear because relevant modules failed to import due to missing dependencies.
- Loading branch information
1 parent
87a238e
commit c48654e
Showing
5 changed files
with
35 additions
and
5 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
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,16 @@ | ||
name: mcedit2-docs | ||
|
||
dependencies: | ||
- python=2.7 | ||
- pyzmq | ||
- pyside | ||
- pyopengl | ||
- ipython | ||
- qtconsole | ||
- pygments | ||
- cython | ||
- numpy | ||
- pip: | ||
- pastebin | ||
- arrow | ||
- git+https://github.com/mcedit/pysideuic-pkg |
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,5 @@ | ||
conda: | ||
file: environment.yml | ||
|
||
python: | ||
setup_py_install: true |
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
""" | ||
setup-mcedit2 | ||
""" | ||
from os import path | ||
|
||
from setuptools import setup | ||
import sys | ||
from setuptools import setup, find_packages | ||
from Cython.Build import cythonize | ||
import numpy | ||
|
||
|
@@ -30,6 +32,10 @@ | |
for m in mcedit2_ext_modules: | ||
m.include_dirs = include_dirs | ||
|
||
sys.path.append(path.join(path.dirname(__file__), "src")) | ||
from mcedit2.util.gen_ui import compile_ui | ||
compile_ui() | ||
|
||
setup(name='mcedit2', | ||
version=version, | ||
description="Interactive 3D World Editor for Minecraft Levels", | ||
|
@@ -51,7 +57,7 @@ | |
author_email='[email protected]', | ||
url='https://github.com/mcedit/mcedit2', | ||
license='MIT License', | ||
packages=["mcedit2"], | ||
packages=find_packages('src', include="mcedit2*"), | ||
package_dir={'': 'src'}, | ||
ext_modules=mcedit2_ext_modules, | ||
include_dirs=include_dirs, | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
setup_mceditlib | ||
""" | ||
|
||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
from Cython.Build import cythonize | ||
|
||
# Output annotated .html | ||
|
@@ -47,7 +47,7 @@ | |
author_email='[email protected]', | ||
url='https://github.com/mcedit/mcedit2', | ||
license='MIT License', | ||
packages=["mceditlib"], | ||
packages=find_packages('src', include="mceditlib*"), | ||
package_dir={'': 'src'}, | ||
ext_modules=mceditlib_ext_modules, | ||
include_dirs=include_dirs, | ||
|