Comments (7)
Sure. Thanks for noting the issue! Then the CM project should be fine but we keep CK archived for now. I will close this issue!
from ck.
Hi
Thank you for noting that @abravalheri!
The CK framework is archived and we do not update it unless requested by users, but this deprecation influence our new CM framework here.
Do you know if there is an alternative from distutils? Should I do something like this code to import it (while keeping backward compatibility for older systems with setuptools)?
Thank you!
from ck.
Do you know if there is an alternative from distutils? Should I do something like this code to import it (while keeping backward compatibility for older systems with setuptools)?
Hi @gfursin, I find that convert_path
is usually not essential for implementing the common functionality.
This is the description of the function:
"""Return 'pathname' as a name that will work on the native filesystem, i.e. split it on '/' and put it back together again using the current directory separator. Needed because filenames in the setup script are always supplied in Unix style, and have to be converted to the local convention before we can actually use them in the filesystem. Raises ValueError on non-Unix-ish systems if 'pathname' either starts or ends with a slash. """
But most of the Python functions nowadays already allow you to use /
for paths even on windows...
Other than that, the function also raises an error if the path is absolute or if it ends in /
, but that is easily implementable with os.path.isabs
and str.rstrip
if needed... Finally, if normalisation is needed you can go with os.path.normpath
.
from ck.
I see that in this particular setup.py
what is being used is something like:
long_description=open(convert_path('./README.md'),
encoding="utf-8").read(),
which probably will work just fine if you replace
convert_path('./README.md') => "README.md"
from ck.
Cool! Thank you for the update. Let me check it this week!
from ck.
I removed convert_path from the CM framework.
Are you using CK framework? If not, I prefer not to touch it until it really fails in the future ;) ...
from ck.
Hi @gfursin, thank you for taking a look on this.
No, I am not working with CK. I am working on removing deprecated parts from setuptools.
from ck.
Related Issues (20)
- Print migration warning when using mlcommons@ck HOT 7
- Add universal check of env vars in cmind.utils HOT 1
- Add "prototype" flag to CM script meta
- Refactor CM, CM for MLOps and CM for MLPerf docs and tutorials
- Improving CM core
- When dumping version info from dependencies, variations do not have _ HOT 1
- Warning Encountered During pip install cmind on Ubuntu via WSL HOT 3
- KeyError in MLPerf Inference with ResNet-50 HOT 5
- Could not identify license file for opentelemetry-cpp HOT 1
- CUDA version 12.4 not supported for this cm command HOT 1
- Support branch for cm pull repo
- How do you specify which GPU to run an Mlperf benchmark on with CM? HOT 6
- cm add script is failing on new CM repository HOT 1
- Support ssh URLs in cm pull repo HOT 3
- Improve the accessibility of the documentations HOT 1
- How to prevent caching? HOT 2
- Requiring a user access token or an SSH key instead for huggingface.co HOT 2
- Portable CM script failed (name = build-docker-image, return code = 256) HOT 1
- prototype "cm init" to check some system deps (git, wget) and pull cm4mlops repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ck.