diff --git a/MANIFEST.in b/MANIFEST.in index 4f0a350b..13188a6c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,7 +3,7 @@ include txclib/cacert.pem include requirements.txt # Docs -include LICENSE README.rst +include LICENSE README.md recursive-include docs * # Tests diff --git a/README.rst b/README.rst deleted file mode 100644 index 39188c1d..00000000 --- a/README.rst +++ /dev/null @@ -1,69 +0,0 @@ -.. image:: https://circleci.com/gh/transifex/transifex-client/tree/master.svg?style=shield&circle-token=33aafd984726261eff1b73278a0cf761382c478a - :target: https://circleci.com/gh/transifex/transifex-client/tree/master -.. image:: https://ci.appveyor.com/api/projects/status/github/transifex/transifex-client?branch=master&svg=true - :target: https://ci.appveyor.com/project/transifex/transifex-client/branch/master -.. image:: https://codecov.io/gh/transifex/transifex-client/branch/master/graph/badge.svg -   :target: https://codecov.io/gh/transifex/transifex-client - - - -============================= - Transifex Command-Line Tool -============================= - -The Transifex Command-line Tool enables you to manage your translations within a project without the need of an elaborate UI system. - -You can use the command line tool to create new resources, map locale files to translations, and synchronize your Transifex project with your local repository. Translators and localization managers can use it to handle large volumes of translation files. The Transifex Command-line Tool can help to enable continuous integration workflows and can be run from CI servers like Jenkins and Bamboo. - -Check the full documentation at http://docs.transifex.com/client/ - -Installing -========== - -You can install the latest version of transifex-client running ``pip -install transifex-client`` or ``easy_install transifex-client``. - - -Build transifex-client for Windows -================================== - -1. Download transifex-client sources via git or github archive. - - a. ``git clone https://github.com/transifex/transifex-client.git`` - b. Download and unpack https://github.com/transifex/transifex-client/archive/master.zip - -2. Download and install Python_. - - At this step choose right version of python: 2 or 3 and x86 or x86-64 instruction set. - - Make sure pip marked for installation(default for latest installers). - -3. Install PyInstaller_. - - Suppose that Python installed to ``C:\\Program Files\\Python35-32`` - - Make ``python.exe`` accessible via PATH environment variable or cd to directory containing python.exe. - - :: - - python -m pip install pyinstaller - - This command will install ``PyInstaller`` package and its dependencies. - -4. Build ``transifex-client`` distribution. - - Change directory to transifex-client folder and run command: - - :: - - python -m PyInstaller contrib/tx.spec - # or - pyinstaller contrib/tx.spec - -5. ``tx.exe`` - - ``dist/tx.exe`` will be created as the result of build process. - - -.. _Python: https://www.python.org/downloads/windows/ -.. _PyInstaller: http://www.pyinstaller.org diff --git a/setup.py b/setup.py index 5bb14526..6a27901f 100755 --- a/setup.py +++ b/setup.py @@ -10,12 +10,13 @@ def get_file_content(filename): with open(filename, 'r', encoding='UTF-8') as f: return f.read() + setup( name="transifex-client", version=txclib.__version__, entry_points={'console_scripts': ['tx=txclib.cmdline:main']}, description="A command line interface for Transifex", - long_description=get_file_content('README.rst'), + long_description=get_file_content('README.md'), author="Transifex", author_email="admin@transifex.com", url="https://www.transifex.com",