Skip to content

Commit

Permalink
Use 'nox' as the package name
Browse files Browse the repository at this point in the history
  • Loading branch information
theacodes committed Aug 24, 2018
1 parent a2903d4 commit 8cd1e6c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -29,7 +29,7 @@ side of including lots of information, such as:
Nox runs its own tests (it's recursive!). The best thing to do is start with
a known-good nox installation, e.g. from PyPI:

pip install --pre --upgrade nox-automation
pip install --pre --upgrade nox

To just check for lint errors, run:

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -62,7 +62,7 @@
# built documents.
#
# The short X.Y version.
version = pkg_resources.get_distribution('nox-automation').version
version = pkg_resources.get_distribution('nox').version
# The full version, including alpha/beta/rc tags.
release = version

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Expand Up @@ -14,10 +14,10 @@ Welcome to Nox

Install nox via `pip`_::

pip install --upgrade nox-automation
pip install --upgrade nox


.. Note:: These docs are for a pre-release version of Nox, so you'll need to use ``pip install --pre nox-automation`` for now~
.. Note:: These docs are for a pre-release version of Nox, so you'll need to use ``pip install --pre nox`` for now.


Nox is configured via a ``nox.py`` file in your project's directory. Here's a simple noxfile that runs lint and some tests::
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.rst
Expand Up @@ -9,7 +9,7 @@ Installation

Nox can be easily installed via `pip`_::

pip install --upgrade nox-automation
pip install --upgrade nox

Usually you install this globally, similar to ``tox``, ``pip``, and other similar tools.

Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Expand Up @@ -127,7 +127,7 @@ Nox has experimental support for converting ``tox.ini`` files into ``nox.py`` fi

To use the converter, install ``nox`` with the ``tox_to_nox`` extra::

pip install --upgrade nox-automation[tox_to_nox]
pip install --upgrade nox[tox_to_nox]

Then, just run ``tox-to-nox`` in the directory where your ``tox.ini`` resides::

Expand Down
2 changes: 1 addition & 1 deletion nox/main.py
Expand Up @@ -90,7 +90,7 @@ def main():
args = parser.parse_args()

if args.version:
dist = pkg_resources.get_distribution('nox-automation')
dist = pkg_resources.get_distribution('nox')
print(dist.version, file=sys.stderr)
return

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -21,7 +21,7 @@


setup(
name='nox-automation',
name='nox',

version='2018.7.31dev1',

Expand Down Expand Up @@ -69,7 +69,6 @@
'virtualenv>=14.0.0'],

extras_require={
':python_version<"3.4"': ['enum34'],
'tox_to_nox': ['jinja2', 'tox']
},

Expand Down
2 changes: 1 addition & 1 deletion tests/test_main.py
Expand Up @@ -27,7 +27,7 @@


RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')
VERSION = pkg_resources.get_distribution('nox-automation').version
VERSION = pkg_resources.get_distribution('nox').version


def test_global_config_constructor():
Expand Down

0 comments on commit 8cd1e6c

Please sign in to comment.