From ad79073f55777a802e6a7bdc7c3a119d6bfe7155 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 23 Apr 2017 23:45:09 +0300 Subject: [PATCH] Prepare to publish at PyPI --- INSTALL.txt | 10 +++++----- requirements.txt | 2 -- setup.cfg | 1 - 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 42fd7fa..3b0a526 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -7,11 +7,11 @@ Installation using pip: System-wide: - sudo pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' m_lib + sudo pip install m_lib User mode: - pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' --user m_lib + pip install --user m_lib For Python 2.6 the command is easy_install. @@ -20,13 +20,13 @@ Installation from sources: To install the library from sources system-wide run run the following command: - sudo python setup.py install -O2 + sudo python setup.py install If you don't want to install it system-wide you can install it in your home directory; run run the following command: - python setup.py install -O2 --user + python setup.py install --user Option '--user' installs m_lib into -$HOME/.local/lib/python2.$VERSION/site-packages/ where python finds it +$HOME/.local/lib/python$MAJOR.$MINOR/site-packages/ where python finds it automatically. diff --git a/requirements.txt b/requirements.txt index a93f011..5d2aba7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1 @@ ---trusted-host phdru.name ---find-links=http://phdru.name/Software/Python/ --install-option=-O2 diff --git a/setup.cfg b/setup.cfg index 56a3566..d4199d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,4 @@ [easy_install] -find_links = http://phdru.name/Software/Python/ optimize = 2 [egg_info] -- 2.39.2