From 464f50dfc9e5cf3400cab84d42c0d89a0ff62bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 20 Mar 2017 21:32:18 +0100 Subject: Add a changelog and a contributors file --- CHANGELOG.rst | 9 +++++++++ CONTRIBUTORS.rst | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 CHANGELOG.rst create mode 100644 CONTRIBUTORS.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 0000000..a3c05f0 --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,9 @@ +Changelog +========= + +This document describes changes between each past release. + +1.0.0 (unreleased) +------------------ + +- First release of the project. diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst new file mode 100644 index 0000000..4272b96 --- /dev/null +++ b/CONTRIBUTORS.rst @@ -0,0 +1,17 @@ +0livd <0livd@users.noreply.github.com> +A.Avenel +Adam Chainz +Adrien CLERC +Alexis Metaireau +Arnaud Bos +Baptiste Jonglez +Berteh +Feth AREZKI +fredericsureau +Frédéric Sureau +JocelynDelalande +Jocelyn Delande +Mathieu Leplatre +Quentin +Tinmn +Xavier Mehrenberger -- cgit v1.1 From caf7f2b814ced8c7ad2a0bacc4e2715ec77ba344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 20 Mar 2017 21:46:33 +0100 Subject: Update the README with the release process --- AUTHORS | 2 -- CONTRIBUTORS | 17 +++++++++++++++++ CONTRIBUTORS.rst | 17 ----------------- README.rst | 30 ++++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 19 deletions(-) delete mode 100644 AUTHORS create mode 100644 CONTRIBUTORS delete mode 100644 CONTRIBUTORS.rst diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 89a2af3..0000000 --- a/AUTHORS +++ /dev/null @@ -1,2 +0,0 @@ -The project has been started by Alexis Métaireau and Frédéric Sureau. Friends are -helping since that in the persons of Arnaud Bos and Quentin Roy. diff --git a/CONTRIBUTORS b/CONTRIBUTORS new file mode 100644 index 0000000..0acc7e8 --- /dev/null +++ b/CONTRIBUTORS @@ -0,0 +1,17 @@ +The project has been started by Alexis Métaireau and Frédéric Sureau. Friends are +helping since that. Here is the complete list of people who gave a hand: + +0livd <0livd@users.noreply.github.com> +A.Avenel +Adam Chainz +Adrien CLERC +Alexis Metaireau +Arnaud Bos +Baptiste Jonglez +Berteh +Feth AREZKI +Frédéric Sureau +Jocelyn Delalande +Mathieu Leplatre +Tinmn +Xavier Mehrenberger diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst deleted file mode 100644 index 4272b96..0000000 --- a/CONTRIBUTORS.rst +++ /dev/null @@ -1,17 +0,0 @@ -0livd <0livd@users.noreply.github.com> -A.Avenel -Adam Chainz -Adrien CLERC -Alexis Metaireau -Arnaud Bos -Baptiste Jonglez -Berteh -Feth AREZKI -fredericsureau -Frédéric Sureau -JocelynDelalande -Jocelyn Delande -Mathieu Leplatre -Quentin -Tinmn -Xavier Mehrenberger diff --git a/README.rst b/README.rst index e2efecc..30fd094 100644 --- a/README.rst +++ b/README.rst @@ -98,3 +98,33 @@ End-user You just wanted to have a look at the application and found a bug? Please tell us and go fill a new issue: https://github.com/spiral-project/ihatemoney/issues + +How to release? +=============== + +In order to prepare a new release, we are following the following steps. + +The `fullrelease` command comes from `zest.releaser +`_. + +Install `zest.releaser`: + +.. code-block:: bash + + $ pip install "zest.releaser" + +- Merge remaining pull requests +- Update ``CHANGELOG.rst`` +- Update known good versions of dependencies in ``requirements.txt`` with this command (from inside the venv): + +.. code-block:: bash + + $ pip freeze | grep -v -- '-e' > requirements.txt + +Once this is done, use the "fullrelease" command: + +.. code-block:: bash + + $ fullrelease + +That's all folks! -- cgit v1.1 From b3e7925d666dfd1b5f5f68b402484985e8e08d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Tue, 21 Mar 2017 16:33:13 +0100 Subject: Add a setup.py file --- .gitignore | 3 +++ MANIFEST.in | 3 +++ setup.py | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 6eafef1..35e8b93 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ budget/budget.db budget/memory budget/settings.py *.pyc +*.egg-info +dist +.venv diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..ba99e2a --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include *.rst +recursive-include budget *.rst *.py *.yaml *.po *.mo *.html *.css *.js *.eot *.svg *.woff *.txt *.png *.ini *.cfg +include LICENSE CONTRIBUTORS CHANGELOG.rst diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..715110e --- /dev/null +++ b/setup.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +import codecs +import os +from setuptools import setup, find_packages + +here = os.path.abspath(os.path.dirname(__file__)) + + +def read_file(filename): + """Open a related file and return its content.""" + with codecs.open(os.path.join(here, filename), encoding='utf-8') as f: + content = f.read() + return content + + +README = read_file('README.rst') +CHANGELOG = read_file('CHANGELOG.rst') + +REQUIREMENTS = [ + 'flask>=0.11' + 'flask-wtf>=0.13', + 'flask-sqlalchemy', + 'flask-mail>=0.8', + 'Flask-Migrate>=1.8.0', + 'flask-babel', + 'flask-rest', + 'jinja2>=2.6', + 'raven', + 'blinker', + 'six>=1.10', +] + +DEPENDENCY_LINKS = [ +] + +ENTRY_POINTS = { + 'paste.app_factory': [ + 'main = budget.run:main', + ], +} + + +setup(name='ihatemoney', + version='1.0.0', + description='A simple shared budget manager web application.', + long_description="{}\n\n{}".format(README, CHANGELOG), + license='Custom BSD Beerware', + classifiers=[ + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: Implementation :: CPython", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", + ], + keywords="web budget", + author='Alexis Métaireau & contributors', + author_email='alexis@notmyidea.org', + url='https://github.com/spiral-project/ihatemoney', + packages=find_packages(), + package_data={'': ['*.rst', '*.py', '*.yaml', '*.po', '*.mo', '*.html', + '*.css', '*.js', '*.eot', '*.svg', '*.woff', '*.txt', + '*.png', '*.ini', '*.cfg']}, + include_package_data=True, + zip_safe=False, + install_requires=REQUIREMENTS, + dependency_links=DEPENDENCY_LINKS, +entry_points=ENTRY_POINTS) -- cgit v1.1 From ce236303efdca4d3afb8b2b27b8be9ae732b5703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Tue, 21 Mar 2017 17:15:11 +0100 Subject: Specify python 2.7 and remove 3.6 since we do not test against it yet --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 715110e..a551fc7 100644 --- a/setup.py +++ b/setup.py @@ -47,9 +47,9 @@ setup(name='ihatemoney', license='Custom BSD Beerware', classifiers=[ "Programming Language :: Python", + "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", -- cgit v1.1 From bfcb9ef966df436a23af0a042e0addb7e1196f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Wed, 22 Mar 2017 18:02:01 +0100 Subject: Fix setup.py mistake --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a551fc7..1e59227 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ README = read_file('README.rst') CHANGELOG = read_file('CHANGELOG.rst') REQUIREMENTS = [ - 'flask>=0.11' + 'flask>=0.11', 'flask-wtf>=0.13', 'flask-sqlalchemy', 'flask-mail>=0.8', -- cgit v1.1