Metadata-Version: 1.1
Name: fiximports
Version: 0.1.2.dev3
Summary: Reorder import statements in Python files
Home-page: https://github.com/Stibbons/fiximports
Author: Gaetan Semet
Author-email: gaetan@xeberon.net
License: Apache-2
Description: ******************
        Python Fix Imports
        ******************
        
        Python Fix Imports is a Python module that can automatically reorganize the ``import`` statements of
        your Python script.
        
        Please read the
        `online documenation for more information <http://fiximports.readthedocs.org/en/latest/>`_.
        
        Example
        =======
        
        Fix imports allows you to automatically turn:
        
        .. code:: python
        
            from any_module import d, f
            from any_module import (b,
                             e)
            from any_module import a, \
                            c,
        
        into:
        
        .. code:: python
        
            from any_module import a
            from any_module import b
            from any_module import c
            from any_module import d
            from any_module import e
            from any_module import f
        
        
        Fiximport installation
        ======================
        
        .. code-block:: bash
        
            $ pip install fiximports
        
        Development environment
        =======================
        
        .. code-block:: bash
        
            $ virtualenv env
            $ source env/bin/activate
            $ pip install --upgrade -e .
            $ pip install -r test-requirements.txt
            $ python setup.py --version
        
        Executing tests
        ===============
        
        .. code-block:: bash
        
            $ python setup.py test
        
        Updating AUTHORS, ChangeLog
        ===========================
        
        Source distribution:
        
        .. code-block:: bash
        
            $ python setup.py sdist
        
        Binary distribution:
        
        .. code-block:: bash
        
            $ python setup.py bdist
        
        Wheels:
        
        .. code-block:: bash
        
            $ python setup.py bdist_wheel
        
        Universal Wheels:
        
        .. code-block:: bash
        
            python setup.py bdist_wheel --universal
        
        Update the dependencies for tests
        =================================
        
        .. code-block:: bash
        
            $ pip-compile test-requirements.in
        
        .. note::
        
            We do "`pin`_" the dependencies for test environment. We do not "`pin`_ " for development.
        
            .. _pin: http://nvie.com/posts/better-package-management/
        
        Generating the documentation
        ============================
        
        .. code-block:: bash
        
            $ python setup.py docs
        
        Release and upload to Pypi
        ==========================
        
        
        - Upload your work to Github
        
        - Create a new release on Github
        
        - Fetch changes on local:
        
          .. code-block:: bash
        
              $ git fetch --all
              $ git pull --rebase
        
        - Create you source distribution to regenerate ChangeLog properly
        
          .. code-block:: bash
        
              $ python setup.py sdist
        
        - Repush to Github, edit the tag
        
        - Build source and distribution:
        
          .. code-block:: bash
        
              $ rm -rfv dist/*
              $ python setup.py sdist
              $ python setup.py bdist_wheel
              $ python setup.py bdist_wheel --universal
        
        - Upload distributions:
        
          .. code-block:: bash
        
              $ twine upload dist/*
        
        
Keywords: codesstyle
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
