Skip to content

Commit 3d373ec

Browse files
Merge pull request #6 from ekonstantinidis/rename-pypiup
Rename to "pypiup"
2 parents edbafde + f0e0ee6 commit 3d373ec

File tree

8 files changed

+25
-26
lines changed

8 files changed

+25
-26
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# pypi-uptodate [![travis][travis-image]][travis-url] [![pypi][pypi-image]][pypi-url]
1+
# pypiup [![travis][travis-image]][travis-url] [![pypi][pypi-image]][pypi-url]
22
Check whether your PyPI requirements are up to date.
33

44
[![press][press-image]][press-url]
55

66
### Installation
7-
You can install `pypi-uptodate` through pypi.
7+
You can install `pypiup` through pypi.
88

9-
sudo pip install pypi-uptodate
9+
sudo pip install pypiup
1010

1111

1212
### Usage
13-
You can either use `pypiuptodate` or `pypi-uptodate`. Use `--help` to see all the available options.
13+
The command you can use is `pypiup`. Use `--help` to see all the available options.
1414

15-
> pypiuptodate --help
16-
Usage: pypiuptodate [OPTIONS]
15+
> pypiup --help
16+
Usage: pypiup [OPTIONS]
1717

18-
PyPI Up-to-date
18+
PyPIup
1919
Check whether your PyPI requirements are up to date.
2020

2121
Options:
@@ -32,8 +32,8 @@ You can either use `pypiuptodate` or `pypi-uptodate`. Use `--help` to see all th
3232
source env/bin/activate
3333

3434
pip install -r requirements.txt
35-
python pypi_uptodate/cli.py --help
36-
python pypi_uptodate/cli.py --demo
35+
python pypiup/cli.py --help
36+
python pypiup/cli.py --demo
3737

3838

3939
### Tests
@@ -52,12 +52,12 @@ In order to run the tests you will have to run:
5252
6. Make sure tests are passing
5353

5454

55-
[travis-image]: https://travis-ci.com/ekonstantinidis/pypi-uptodate.svg?token=9QR4ewbqbkEmHps6q5sq&branch=master
56-
[travis-url]: https://travis-ci.com/ekonstantinidis/pypi-uptodate
55+
[travis-image]: https://travis-ci.com/ekonstantinidis/pypiup.svg?token=9QR4ewbqbkEmHps6q5sq&branch=master
56+
[travis-url]: https://travis-ci.com/ekonstantinidis/pypiup
5757

58-
[pypi-image]: https://badge.fury.io/py/pypi-uptodate.svg
59-
[pypi-url]: https://pypi.python.org/pypi/pypi-uptodate/
58+
[pypi-image]: https://badge.fury.io/py/pypiup.svg
59+
[pypi-url]: https://pypi.python.org/pypi/pypiup/
6060

6161

6262
[press-image]: https://cloud.githubusercontent.com/assets/6333409/12076913/1f9454dc-b1b9-11e5-87c3-09a8570f21fc.png
63-
[press-url]: https://github.com/ekonstantinidis/pypi-uptodate
63+
[press-url]: https://github.com/ekonstantinidis/pypiup
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
import click
3-
from pypi_uptodate.requirements import Requirements
3+
from pypiup.requirements import Requirements
44

55

66
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -11,7 +11,7 @@
1111
@click.option('--demo', '-d', is_flag=True, help='Load the demo requirements.txt file that comes with the package.')
1212
def cli(requirement, demo):
1313
"""
14-
PyPI Up-to-date\n
14+
PyPIup\n
1515
Check whether your PyPI requirements are up to date.
1616
"""
1717
if demo:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from __future__ import unicode_literals
33

44
import click
5-
from pypi_uptodate.requirement import Requirement
5+
from pypiup.requirement import Requirement
66

77

88
class Requirements(object):

runtests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import subprocess
44

55

6-
FLAKE8_ARGS = ['pypi_uptodate/', 'tests/', '--ignore=E501']
7-
COVERAGE_ARGS = ['--source=pypi_uptodate', '--omit=pypi_uptodate/__init__.py', 'python -m unittest -v tests/tests.py']
6+
FLAKE8_ARGS = ['pypiup/', 'tests/', '--ignore=E501']
7+
COVERAGE_ARGS = ['--source=pypiup', '--omit=pypiup/__init__.py', 'python -m unittest -v tests/tests.py']
88

99

1010
def exit_on_failure(command, message=None):
@@ -20,7 +20,7 @@ def flake8_main(args):
2020

2121

2222
def run_tests_coverage(args):
23-
command = subprocess.call('coverage run --source=pypi_uptodate --omit=pypi_uptodate/__init__.py -m unittest tests.tests_cli', shell=True)
23+
command = subprocess.call('coverage run --source=pypiup --omit=pypiup/__init__.py -m unittest tests.tests_cli', shell=True)
2424
command = subprocess.call(['coverage', 'report'])
2525
return command
2626

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
from setuptools import find_packages, setup
22

33
setup(
4-
name='pypi-uptodate',
5-
version=__import__('pypi_uptodate').__version__,
4+
name='pypiup',
5+
version=__import__('pypiup').__version__,
66
author="Emmanouil Konstantinidis",
77
author_email="manos@iamemmanouil.com",
88
packages=find_packages(),
99
include_package_data=True,
10-
url="https://github.com/ekonstantinidis/pypi-uptodate",
10+
url="https://github.com/ekonstantinidis/pypi",
1111
license='BSD',
1212
description="Check whether your PyPI requirements are up to date.",
1313
long_description=open("README.md").read(),
@@ -18,8 +18,7 @@
1818
],
1919
entry_points='''
2020
[console_scripts]
21-
pypiuptodate=pypi_uptodate.cli:cli
22-
pypi_uptodate=pypi_uptodate.cli:cli
21+
pypiup=pypiup.cli:cli
2322
''',
2423
classifiers=[
2524
'Development Status :: 5 - Production/Stable',

tests/tests_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22
from click.testing import CliRunner
3-
from pypi_uptodate.cli import cli
3+
from pypiup.cli import cli
44
from tests.mocks import TestMockedRequests, TestMockedDemoRequests
55

66

0 commit comments

Comments
 (0)