diff --git a/README.md b/README.md index c434686..a51f631 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # USpec -[uspec](https://github.com/MountainField/uspec) is +[USpec](https://github.com/MountainField/uspec) is a *Behaviour-Driven Development* tool for Python developers. + +USpec provides a Rspec like specification format, and generates tests executable by [unittest](https://docs.python.org/3/library/unittest.html) . @@ -20,10 +22,19 @@ Usage +Test +---- + +```bash +$ python -m unittest discover -s tests -p "*.py" -v +``` + + + Author ------ -* **Takahide Nogayama** - [Nogayama](https://github.com/nogayama) +- **Takahide Nogayama** - [Nogayama](https://github.com/nogayama) diff --git a/setup.py b/setup.py index 8f33bda..ee438d4 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,10 @@ pycode4meta += line exec(pycode4meta) + _long_description=__description__ + with io.open("README.md", "rt", encoding="UTF-8") as f: + _long_description = f.read() + setup( name="uspec", version=__version__, @@ -32,8 +36,13 @@ download_url=__download_url__, license=__license__, + long_description=_long_description, + long_description_content_type="text/markdown", + + python_requires='>=3.0', + package_dir={ - '': 'src' + "": "src" }, py_modules=[ "uspec", @@ -42,4 +51,18 @@ "scripts/uspec", ], test_suite="tests", + + classifiers=[ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Topic :: Documentation", + "Topic :: Software Development :: Documentation", + "Topic :: Software Development :: Quality Assurance", + "Topic :: Software Development :: Testing", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + ], ) diff --git a/src/uspec.py b/src/uspec.py index d940069..c4150b7 100644 --- a/src/uspec.py +++ b/src/uspec.py @@ -12,12 +12,12 @@ from __future__ import unicode_literals, print_function, division __version__ = "1.0.22" -__description__ = "RSpec like BDD tool based on unittest" +__description__ = "RSpec like behavior driven development (BDD) tool based on unittest" __author__ = "Takahide Nogayama" __author_email__ = "NOGAYAMA@gmail.com" __url__ = "https://github.com/MountainField/uspec" __download_url__ = "https://github.com/MountainField/uspec/releases" -__license__ = "IBM" +__license__ = "MIT" from abc import ABCMeta, abstractmethod import contextlib as _contextlib