diff options
| -rw-r--r-- | CHANGES.txt | 5 | ||||
| -rw-r--r-- | README.md | 26 | ||||
| -rw-r--r-- | setup.cfg | 8 | ||||
| -rw-r--r-- | setup.py | 10 |
4 files changed, 24 insertions, 25 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 93bcddfb..4a7f8fce 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,6 +8,11 @@ ``storage_type`` parameter. The ``storage_class`` should be the actual Session subclass to be used. +* Releases now use ``setuptools_scm`` to track the release + versions. Therefore, releases can be cut by simply tagging + a commit in the repo. Versions numbers are now stored in + exactly one place. + 8.0.1 ----- @@ -2,15 +2,15 @@ [](https://travis-ci.org/cherrypy/cherrypy) [](https://www.codacy.com/app/webknjaz/cherrypy-upstream?utm_source=github.com&utm_medium=referral&utm_content=cherrypy/cherrypy&utm_campaign=Badge_Grade) -Welcome to the GitHub-repository of [CherryPy](http://cherrypy.org/)! +Welcome to the GitHub-repository of [CherryPy](http://cherrypy.org/)! CherryPy is a pythonic, object-oriented HTTP framework. 1. It allows building web applications in much the same way one would build any other object-oriented program. 2. This results in less and more readable code being developed faster. It's all just properties and methods. -3. It is now more than ten years old and has proven fast and very stable. +3. It is now more than ten years old and has proven fast and very stable. 4. It is being used in production by many sites, from the simplest to the most demanding. -5. And perhaps most importantly, it is fun to work with :-) +5. And perhaps most importantly, it is fun to work with :-) Here's how easy it is to write "Hello World" in CherryPy: ```python @@ -20,9 +20,9 @@ class HelloWorld(object): @cherrypy.expose def index(self): return "Hello World!" - + cherrypy.quickstart(HelloWorld()) -``` +``` And it continues to work that intuitively when systems grow, allowing for the Python object model to be dynamically presented as a web site and/or API. @@ -49,23 +49,23 @@ And it continues to work that intuitively when systems grow, allowing for the Py # Help -What are my options if I feel I need help? +What are my options if I feel I need help? ### I don't understand the documentation While CherryPy is one of the easiest and most intuitive frameworks out there, the prerequisite for understanding the [CherryPy documentation](http://docs.cherrypy.org/en/latest/) is that you have a general understanding of Python and web development. -So if you have that, and still cannot understand the documentation, it is probably not your fault. +So if you have that, and still cannot understand the documentation, it is probably not your fault. [Please create an issue](https://github.com/cherrypy/cherrypy/issues/new) in those cases. ### I have a question If you have a question and cannot find an answer for it in issues or the the [documentation](http://docs.cherrypy.org/en/latest/), [please create an issue](https://github.com/cherrypy/cherrypy/issues/new). -Questions and their answers have great value for the community, and a tip is to really put the effort in and write a good explanation, you will get better and quicker answers. +Questions and their answers have great value for the community, and a tip is to really put the effort in and write a good explanation, you will get better and quicker answers. Examples are strongly encouraged. -### I have found a bug -If no one have already, [create an issue](https://github.com/cherrypy/cherrypy/issues/new). -Be sure to provide ample information, remember that any help won't be better than your explanation. +### I have found a bug +If no one have already, [create an issue](https://github.com/cherrypy/cherrypy/issues/new). +Be sure to provide ample information, remember that any help won't be better than your explanation. Unless something is very obviously wrong, you are likely to be asked to provide a working example, displaying the erroneous behaviour. @@ -83,7 +83,7 @@ You will get answers and resolutions way quicker. Also, many other open source p * The official user documentation of CherryPy is at: http://docs.cherrypy.org/en/latest/ * Tutorials are included in the repository: https://github.com/cherrypy/cherrypy/tree/master/cherrypy/tutorial -* A general wiki at(will be moved to github): https://bitbucket.org/cherrypy/cherrypy/wiki/Home +* A general wiki at(will be moved to github): https://bitbucket.org/cherrypy/cherrypy/wiki/Home * Plugins are described at: http://tools.cherrypy.org/ # Installation @@ -112,7 +112,7 @@ python setup.py install ## Contributing Please follow the [contribution guidelines](https://github.com/cherrypy/cherrypy/blob/master/CONTRIBUTING.txt). -And by all means, [absorb the Zen of CherryPy](https://bitbucket.org/cherrypy/cherrypy/wiki/ZenOfCherryPy). +And by all means, [absorb the Zen of CherryPy](https://bitbucket.org/cherrypy/cherrypy/wiki/ZenOfCherryPy). ## Testing * To run the regression tests, just go to the cherrypy/test/ directory @@ -1,8 +1,3 @@ -[bumpversion] -current_version = 8.0.1 -commit = True -tag = True - [aliases] clean_egg_info = egg_info -RDb '' release = clean_egg_info sdist bdist_wheel @@ -19,6 +14,3 @@ nocapture = True [egg_info] tag_build = .post tag_date = 1 - -[bumpversion:file:setup.py] - @@ -54,7 +54,6 @@ class Tox(TestCommand): # arguments for the setup command ############################################################################### name = "CherryPy" -version = "8.0.1" desc = "Object-Oriented HTTP framework" long_desc = "CherryPy is a pythonic, object-oriented HTTP framework" classifiers = [ @@ -166,7 +165,7 @@ if 'bdist_wininst' in sys.argv or '--format=wininst' in sys.argv: setup_params = dict( name=name, - version=version, + use_scm_version=True, description=desc, long_description=long_desc, classifiers=classifiers, @@ -182,13 +181,16 @@ setup_params = dict( extras_require=extras_require, # Enables `python setup.py test` invocation install test dependencies first tests_require=tests_require, + setup_requires=[ + 'setuptools_scm', + ], ) def main(): if sys.version < required_python_version: - s = "I'm sorry, but %s %s requires Python %s or later." - print(s % (name, version, required_python_version)) + s = "I'm sorry, but %s requires Python %s or later." + print(s % (name, required_python_version)) sys.exit(1) # set default location for "data_files" to # platform specific "site-packages" location |
