金のニワトリ (@gosrum)
Qwen3-TTS의 UV 관리용으로 만든 pyproject.toml을 공유한다는 게시물입니다. flash-attn을 재컴파일해 설치하는 명령은 첨부 이미지 참조로 안내하며, 관련 GitHub 링크(robustonian 리포지토리)를 포함해 개발 환경 설정을 공유합니다.
金のニワトリ (@gosrum)
Qwen3-TTS의 UV 관리용으로 만든 pyproject.toml을 공유한다는 게시물입니다. flash-attn을 재컴파일해 설치하는 명령은 첨부 이미지 참조로 안내하며, 관련 GitHub 링크(robustonian 리포지토리)를 포함해 개발 환경 설정을 공유합니다.
Python team is calling for community testers!
https://issues.guix.gnu.org/79073
guix time-machine --branch=python-team -- build <your-lovely-package>
#Guix is on the way to #pyproject for #Python builds.
Hah, got uv to build psycopg2. For some reason it didn't check for all needed libraries and headers, but instead just failed.
So now my environment and uv.lock contains the newest versions of my dependencies. I assume I have to manually copy the new minimum versions from uv.lock to pyproject.toml, as nothing I've found seems to update the versions in that file.
This is all quite complex, but I assume there's some deeper reason that I'm just too dumb to grok.
I've spent the last couple of hours trying to set up an abandonware project that is purely setup.py-based. I don't miss these at all.
Правильный путь создания python-библиотеки: от создания до публикации
Привет, Хабр! Стоит ли говорить, что Python ОЧЕНЬ и ОЧЕНЬ популярный язык программирования, местами даже догоняя JavaScript. Python в мире программирования — это эсперанто, легкий язык созданный для всех, но его владельцам не мешало бы помыться. В мире программирования создание собственных библиотек — это не просто возможность пополнения своего портфолио или способ структурировать код, а настоящий акт творческого самовыражения (и иногда велосипедостроения). Каждый разработчик иногда использовал в нескольких своих проектах однообразный код, который приходилось каждый раз перемещать. Да и хотя бы как упаковать свои идеи и знания в удобный и доступный формат, которым можно будет поделиться с сообществом. Если вы ловили себя на мысли: «А почему мне бы не создать свою полноценную библиотеку?», то я рекомендую прочитать вам мою статью. Эту статью вы можете использовать как шпаргалку для создания своих python-библиотек. Я полностью расскажу все этапы создания библиотеки: документация, тестирование, архитектура, публикация и управление зависимостями Некоторые из вас могут подумать что мы изобретаем велосипед. А я в ответ скажу — сможете ли вы прямо сейчас, без подсказок, только по памяти, нарисовать велосипед без ошибок?
https://habr.com/ru/companies/timeweb/articles/847370/
#python #poetry #pyproject #документация #doxygen #тестирование #unittest #pytest #библиотека #timeweb_статьи
Tonight's example, that finally got me to toot about it... packaging.
The #poetry documentation for #pyproject.toml describes the #include and #exclude config lists. exclude is #automagically pre-populated with the entries from your VCS ignore file, but, and I quote:
"Explicitly declaring entries in include will negate VCS' ignore settings."
Wanna bet on it? I have an entry in my .gitignore file for `docs`. I explicitly list it in `include`.
3/x
Congrats on @diazona and team for setuptools-pyproject-migration 0.1 🎉
https://github.com/diazona/setuptools-pyproject-migration/releases/tag/v0.1.0
I launched a new open-source project yesterday! 🎉
For the past few months @stuartl and I have been working on a little tool to automatically convert #Python #setuptools scripts (setup.py or setup.cfg) to #pyproject.toml files, and our first release just landed on PyPI: https://pypi.org/project/setuptools-pyproject-migration/
It's still a little rough around the edges, but it handles the basics. If you have a Python project using setuptools, we'd love it if you give it a try and share any feedback! (Even if you don't actually use the output, that's cool)
#python #pyproject #build @mkennedy
halp!!
i previously used setup.py to create whl files to distribute directly and through pypi.
I've switched to pyproject.toml with setuptools. either way, the whl file that used to be 20kB is now 20MB!?! how do i build a whl file from a pyproject.toml file without including all the dependency libraries??