/.cache/
/.tox/
-/m_lib.defenc.egg-info/
+/m_lib_defenc.egg-info/
/build/
/dist/
/MANIFEST
-m_lib.defenc requires Python 2.7 or 3.4+.
+m_lib_defenc requires Python 2.7 or 3.4+.
Installation script setup.py requires setuptools.
System-wide:
- sudo pip install m_lib.defenc
+ sudo pip install m_lib_defenc
User mode:
- pip install --user m_lib.defenc
+ pip install --user m_lib_defenc
Virtual environments:
- pip install m_lib.defenc
+ pip install m_lib_defenc
Installation from sources:
python setup.py install --user
-Option '--user' installs m_lib.defenc into
+Option '--user' installs m_lib_defenc into
$HOME/.local/lib/python$MAJOR.$MINOR/site-packages/ where python finds it
automatically.
::
- pip install m_lib.defenc
+ pip install m_lib_defenc
python setup.py build &&
python setup.py sdist &&
-rv=$(python setup.py --version)
-if [ -f dist/m_lib.defenc-$rv.tar.gz ]; then
- cd dist &&
- mv m_lib.defenc-$rv.tar.gz m_lib_defenc-$rv.tar.gz &&
- cd ..
-fi &&
-
find build -name '*.py[co]' -delete &&
python setup.py bdist_wheel --universal &&
twine upload --disable-progress-bar --skip-existing dist/* &&
-exec rm -rf build dist m_lib.defenc.egg-info
+exec rm -rf build dist m_lib_defenc.egg-info
umask 022 &&
-git archive --format=tar --prefix=m_lib.defenc/ "${1:-HEAD}" |
+git archive --format=tar --prefix=m_lib_defenc/ "${1:-HEAD}" |
(cd "$HOME/tmp" && exec tar xf -) &&
-cd "$HOME/tmp/m_lib.defenc" &&
+cd "$HOME/tmp/m_lib_defenc" &&
python setup.py sdist --formats=bztar &&
-cd dist && mv m_lib.defenc-*.tar.bz2 ../.. && cd ../.. && exec rm -rf m_lib.defenc
+cd dist && mv m_lib_defenc-*.tar.bz2 ../.. && cd ../.. && exec rm -rf m_lib_defenc
from setuptools import setup
setup(
- name = "m_lib.defenc",
+ name = "m_lib_defenc",
version = "1.1.1",
description = "Get default encoding",
long_description = "Get default encoding. A part of Broytman Library for Python, Copyright (C) 1996-2025 PhiloSoft Design",
url = "https://phdru.name/Software/Python/#m_lib",
project_urls={
'Homepage': 'https://phdru.name/Software/Python/#m_lib',
- 'Download': 'https://pypi.org/project/m_lib.defenc/',
- 'Git repo': 'https://git.phdru.name/m_lib.defenc.git/',
+ 'Download': 'https://pypi.org/project/m_lib_defenc/',
+ 'Git repo': 'https://git.phdru.name/m_lib_defenc.git/',
},
license = "GPL",
classifiers=[