Skip to content
Snippets Groups Projects
Commit 9e45ea0c authored by CharmingYang0's avatar CharmingYang0 Committed by ChunMing Yang
Browse files

Rename the project

parent a4f884df
No related branches found
No related tags found
No related merge requests found
NfsClient pyNfsClient
=============== ===============
.. contents:: .. contents::
...@@ -7,16 +7,16 @@ NfsClient ...@@ -7,16 +7,16 @@ NfsClient
Introduction Introduction
------------ ------------
NfsClient is a generic open source toolkit for Linux NFS file system simulation as client. pyNfsClient is a generic open source toolkit for Linux NFS file system simulation as client.
Constructed parameters sent via RPC and then analyse the response in reference to NFS protocol specifications (RFC1813). Constructed parameters sent via RPC and then analyse the response in reference to NFS protocol specifications (RFC1813).
You could form your custom scenarios that consist of basic actions to meet expecations. You could form your custom scenarios that consist of basic actions to meet expecations.
**Currently only NFS v3 supported, NFS v4.1 is under development.** **Currently only NFS v3 supported, NFS v4.1 is under development.**
NfsClient is operating system and application independent. The toolkit is implemented using pyNfsClient is operating system and application independent. The toolkit is implemented using
`Python <https://www.python.org>`__, supports both `Python <https://www.python.org>`__, supports both
Python 2.7 and Python 3. Python 2.7 and Python 3.
NfsClient project is hosted on GitHub_ where you can find source code, pyNfsClient project is hosted on GitHub_ where you can find source code,
an issue tracker, and some further documentation. an issue tracker, and some further documentation.
.. _GitHub: https://github.com/CharmingYang0/NfsClient .. _GitHub: https://github.com/CharmingYang0/NfsClient
...@@ -32,7 +32,7 @@ Installation ...@@ -32,7 +32,7 @@ Installation
If you already have `Python <https://www.python.org>`__ with `pip <http://pip-installer.org>`__ installed, If you already have `Python <https://www.python.org>`__ with `pip <http://pip-installer.org>`__ installed,
you can simply run:: you can simply run::
pip install nfsclient pip install pyNfsClient
Alternatively you can get source code by downloading the source Alternatively you can get source code by downloading the source
distribution from PyPI_ and extracting it, or by cloning the project repository distribution from PyPI_ and extracting it, or by cloning the project repository
...@@ -47,7 +47,7 @@ Below is a simple example which lookup a file and then do several operations on ...@@ -47,7 +47,7 @@ Below is a simple example which lookup a file and then do several operations on
.. code:: python .. code:: python
from NfsClient import (Portmap, Mount, NFSv3, MNT3_OK, NFS_PROGRAM, from pyNfsClient import (Portmap, Mount, NFSv3, MNT3_OK, NFS_PROGRAM,
NFS_V3, NFS3_OK, DATA_SYNC) NFS_V3, NFS3_OK, DATA_SYNC)
# variable preparation # variable preparation
......
__title__ = "NfsClient" __title__ = "pyNfsClient"
__description__ = "Pure python NFS client" __description__ = "Pure python NFS client"
__version__ = "0.6.3" __version__ = "0.1.0"
__license__ = "MIT" __license__ = "MIT"
__url__ = "https://github.com/CharmingYang0/NfsClient" __url__ = "https://github.com/CharmingYang0/NfsClient"
__author__ = "Cooper Yang" __author__ = "Cooper Yang"
......
File moved
File moved
File moved
File moved
File moved
File moved
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Copyright (C) 2019 Cooper Yang <cm_yang@yeah.net> # Copyright (C) 2019 Cooper Yang <cm_yang@yeah.net>
# #
# This file is part of NfsClient. # This file is part of pyNfsClient.
# #
# NfsClient is free software; you can redistribute it and/or modify it under the # NfsClient is free software; you can redistribute it and/or modify it under the
# terms of the MIT License. # terms of the MIT License.
...@@ -17,7 +17,7 @@ from setuptools import setup ...@@ -17,7 +17,7 @@ from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
about = dict() about = dict()
with open(os.path.join(here, "NfsClient", "__info__.py"), "r") as fp: with open(os.path.join(here, "pyNfsClient", "__info__.py"), "r") as fp:
exec(fp.read(), about) exec(fp.read(), about)
with open("README.rst", encoding="utf-8") as f: with open("README.rst", encoding="utf-8") as f:
...@@ -37,7 +37,7 @@ setup( ...@@ -37,7 +37,7 @@ setup(
license="MIT", license="MIT",
platforms='any', platforms='any',
url=about["__url__"], url=about["__url__"],
packages=["NfsClient"], packages=["pyNfsClient"],
python_requires=">=2.7", python_requires=">=2.7",
keywords="RPC NFS struct", keywords="RPC NFS struct",
classifiers=[ classifiers=[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment