我使用的是conda构建版本3.11.0、conda 4.9.2和python 3.6.5
我正在对我们的项目运行conda build .
,结果看到以下输出:
WARNING:conda_build.build:No files or script found for output ourtool
WARNING conda_build:bundle_conda(902): No files or script found for output ourtool
number of files: 0
请原谅我没有发布完整的日志。如果需要的话,我可以放更多,但是我必须手工重新键入文档,因为我的开发机器在网络访问上受到限制
在build.tar.bz2中,结构如下:
/info
---files (EMPTY!)
---git
---index.json
---paths.json (EMPTY!)
---hash_input.json
---about.json
---/recipe
-------meta.yaml
-------bld.bat
-------MANIFEST.in
-------setup.py
-------.gitlab-ci.yml
-------requirements.txt
-------README.md
-------conda_build_config.yaml
-------/ourtool
---------__init__.py
---------mypythonfile.py
---------otherpythonfile.py
---------miscsettings.py
当我尝试使用conda install安装软件包时,我得到以下输出:
Preparing Transaction: done
Executing transaction: done
但是站点包中的文件夹是空的强>
该项目的结构如下:
meta.yaml
bld.bat
MANIFEST.in
setup.py
.gitlab-ci.yml
requirements.txt
README.md
conda_build_config.yaml
/ourtool
--__init__.py
--mypythonfile.py
--otherpythonfile.py
--miscsettings.py
meta.yaml
{% set data = load_setup_py_data() %}
package:
name: ourtool
version: {{ data.get('version') }}
source:
- path: ./ourtool
folder: ourtool
- path: ./setup.py
- path: ./MANIFEST.in
- path: ./README.md
build:
number: 0
entrypoints:
- run_ourtool = ourtool.our_tool_main:main
requirements:
build:
- python {{python}}
- setuptools
- psutil
- requests
- ourinternalticketingtool
- pandas
- openpyxl
- pyqt>5
- lxml
run:
- python {{python}}
- psutil
- requests
- ourinternalticketingtool
- pandas
- openpyxl
- pyqt>5
- lxml
setup.py:
from setuptools import setup, find_packages
setup(
name='ourtool',
version='1.0.0',
author='Me',
url="https://ourinternalrepo.com/ourtool",
packages=find_packages(),
include_package_data=True,
install_requires=[
"psutil",
"requests",
"ourinternalticketingtool",
"pandas",
"openpyxl",
"PyQt5",
"lxml"
])
build.bat:
"%PYTHON%" setup.py install
if errorlevel 1 exit 1
conda_build_config.yaml:
python:
-3.6
舱单
include *.md
include requirements.txt
requirements.txt
.
目前没有回答
相关问题 更多 >
编程相关推荐