Skip to content

Commit

Permalink
make unicoder
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraheim committed Apr 8, 2024
1 parent dad4236 commit 0199952
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,19 @@ unicoder:
grep "author *=" setup.cfg >> $(old)/setup.cfg
grep "author-email *=" setup.cfg >> $(old)/setup.cfg
grep "home-page *=" setup.cfg >> $(old)/setup.cfg
echo "description = deprecated unicoder package, use text-unicoder instead" >> $(old)/setup.cfg
echo "The 'unicoder' PyPI package is deprecated, use 'text-unicoder' rather than 'unicoder' for pip commands." > $(old)/README
echo "description = deprecated unicoder package, use text_unicoder instead" >> $(old)/setup.cfg
echo "The 'unicoder' PyPI package is deprecated, use 'text_unicoder' rather than 'unicoder' for pip commands." > $(old)/README
echo "" >> $(old)/README
echo "long-description = file: README" >> $(old)/setup.cfg
echo "long-description-content-type = text/markdown" >> $(old)/setup.cfg
echo "Please replace 'unicoder' in your pip requirements" >> $(old)/README
echo "(requirements.txt, setup.py, setup.cfg) with 'text-unicoder'." >> $(old)/README
echo "(requirements.txt, setup.py, setup.cfg) with 'text_unicoder'." >> $(old)/README
echo "For the next years this wrapper package continues to exist" >> $(old)/README
echo "which has a dependency on the new package name." >> $(old)/README
echo "requires-dist = setuptools" >> $(old)/README
echo "requires = text_unicoder" >> $(old)/README
echo "" >> $(old)/README
echo "https://pypi.org/project/text-unicoder/" >> $(old)/README
echo "requires-dist = setuptools" >> $(old)/setup.cfg
echo "requires = text_unicoder" >> $(old)/setup.cfg
{ echo '#!/usr/bin/env python3' \
; echo 'import setuptools' \
; echo 'setuptools.setup()' ; } > $(old)/setup.py
Expand Down

0 comments on commit 0199952

Please sign in to comment.