Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the module name from libpip2pi to pip2pi. #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
9 changes: 9 additions & 0 deletions pip2pi/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from __future__ import absolute_import

import os
import sys

from pip2pi.commands import pip2pi

if __name__ == '__main__':
sys.exit(pip2pi())
File renamed without changes.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
except IOError:
long_description = "See https://github.com/wolever/pip2pi"

import libpip2pi
version = ".".join(map(str, libpip2pi.__version__))
import pip2pi
version = ".".join(map(str, pip2pi.__version__))

setup(
name="pip2pi",
Expand All @@ -28,9 +28,9 @@
packages=find_packages(),
entry_points={
'console_scripts': [
'dir2pi = libpip2pi.commands:dir2pi',
'pip2pi = libpip2pi.commands:pip2pi',
'pip2tgz = libpip2pi.commands:pip2tgz',
'dir2pi = pip2pi.commands:dir2pi',
'pip2pi = pip2pi.commands:pip2pi',
'pip2tgz = pip2pi.commands:pip2tgz',
],
},
install_requires=[
Expand Down
2 changes: 1 addition & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
PKG_BASE_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), "../")
sys.path.append(PKG_BASE_PATH)

from libpip2pi import commands as pip2pi_commands
from pip2pi import commands as pip2pi_commands

class chdir(object):
""" A drop-in replacement for ``os.chdir`` which also acts as a context
Expand Down