my meta.yaml
-------------------
{% set data = load_setup_py_data() %}
package:
name: example
version: "1.0.1"
source:
path: ../example
requirements:
build:
- python
- setuptools
test:
- python
about:
home: http://example.com
licence: BSD
bld.bat
-------
python setup.py install --single-version-externally-managed --record=record.txt
if errorlevel 1 exit 1
i have created custom channel in my local drive, and i have a project
locally now i have to make a conda package how should i proceed for this,
as i am getting below errors:
i have given local channel name in .condarc and nothing is there in
channel it is just empty
Copying C:\Code\src\example\example to C:\Users\deepak\conda-bld\example
cs_1518589100492\work
Attempting to finalize metadata for example
INFO:conda_build.metadata:Attempting to finalize metadata for example
Leaving build/test directories:
Work: C:\Users\deepak\conda-bld\work
Test: C:\Users\deepak\conda-bld\test_tmp
Leaving build/test environments:
Test: source activate C:\Users\deepak\conda-bld\_test_env
Build: source activate C:\Users\deepak\conda-bld\_h_env
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\environ.py", line
680, in get_install_actions
actions = install_actions(prefix, index, specs, force=True)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\plan.py", line 461, in
install_actions
update_deps, pinned)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\plan.py", line 631, in
get_actions_for_dists
pkgs = r.install(specs, installed, update_deps=update_deps)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\resolve.py", line 813,
in install
pkgs = self.solve(specs, returnall=returnall)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\resolve.py", line 853,
in solve
reduced_index = self.get_reduced_index(specs)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\resolve.py", line 374,
in get_reduced_index
specs, features = self.verify_specs(specs)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\resolve.py", line 300,
in verify_specs
raise ResolvePackageNotFound(bad_deps)
conda.exceptions.ResolvePackageNotFound:
- setuptools
- certifi
- setuptools
- python >=2.7,<2.8.0a0
- setuptools
- wincertstore
- python 3.6.*
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\Scripts\conda-build-script.py", line 10, in <mo
dule>
sys.exit(main())
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\cli\main_build.py
", line 388, in main
execute(sys.argv[1:])
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\cli\main_build.py
", line 379, in execute
verify=args.verify)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\api.py", line 185
, in build
need_source_download=need_source_download, config=config, variants=variants)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\build.py", line 1
776, in build_tree
notest=notest,
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\build.py", line 8
82, in build
output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env
)])
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\render.py", line
548, in expand_outputs
for (output_dict, m) in _m.get_output_metadata_set(permit_unsatisfiable_vari
ants=False):
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\metadata.py", lin
e 1764, in get_output_metadata_set
permit_unsatisfiable_variants=permit_unsatisfiable_variants)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\metadata.py", lin
e 640, in finalize_outputs_pass
fm = finalize_metadata(om, permit_unsatisfiable_variants=permit_unsatisfiabl
e_variants)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\render.py", line
290, in finalize_metadata
permit_unsatisfiable_variants=permit_unsatisfiable_variants)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\render.py", line
113, in get_env_dependencies
channel_urls=tuple(m.config.channel_urls))
File "C:\ProgramData\Anaconda3\lib\site-packages\conda_build\environ.py", line
682, in get_install_actions
raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies
for platform win-64: ['setuptools', 'certifi', 'setuptools', 'python >=2.7,<2.8.
0a0', 'setuptools', 'wincertstore', 'python 3.6.*']
On Tuesday, February 13, 2018 at 9:18:16 PM UTC+5:30, Chris Barker - NOAA
We canât help if we donât know what you tried :-)
Post your recipe, and maybe we can see the problem.
Also â check the output when conda-build runs â looks like nothing
actually got built, so conda-build had nothing to package up.
-CHB
Sent from my iPhone
Post by Deepak JonI could able to build the .tar.bz2 file but inside that there is only
info folder i must be lib folder also due to this my conda is not working
properly....
Post by Deepak JonCan you suggest me how should fix this
--
You received this message because you are subscribed to the Google
Groups "conda - Public" group.
Post by Deepak JonTo unsubscribe from this group and stop receiving emails from it, send
Visit this group at
https://groups.google.com/a/continuum.io/group/conda/.
Post by Deepak JonTo view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/conda/26cfa83a-6154-4bed-985e-0439dac47ab4%40continuum.io.
Post by Deepak JonFor more options, visit
https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/2ae0c8cd-b877-46ab-a221-c1c68fbd68f8%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.