mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
Merge pull request #182 from spiral-project/releases
Start making releases
This commit is contained in:
commit
acbe2c10d8
7 changed files with 131 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -2,3 +2,6 @@ budget/budget.db
|
|||
budget/memory
|
||||
budget/settings.py
|
||||
*.pyc
|
||||
*.egg-info
|
||||
dist
|
||||
.venv
|
||||
|
|
2
AUTHORS
2
AUTHORS
|
@ -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.
|
9
CHANGELOG.rst
Normal file
9
CHANGELOG.rst
Normal file
|
@ -0,0 +1,9 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
This document describes changes between each past release.
|
||||
|
||||
1.0.0 (unreleased)
|
||||
------------------
|
||||
|
||||
- First release of the project.
|
17
CONTRIBUTORS
Normal file
17
CONTRIBUTORS
Normal file
|
@ -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 <avenel.alexandre@gmail.com>
|
||||
Adam Chainz <adam@adamj.eu>
|
||||
Adrien CLERC <adrien@antipoul.fr>
|
||||
Alexis Metaireau <alexis@notmyidea.org>
|
||||
Arnaud Bos <arnaud.tlse@gmail.com>
|
||||
Baptiste Jonglez <git@bitsofnetworks.org>
|
||||
Berteh <berteh@gmail.com>
|
||||
Feth AREZKI <feth@tuttu.info>
|
||||
Frédéric Sureau <fredericsureau@gmail.com>
|
||||
Jocelyn Delalande <jocelyn@crapouillou.net>
|
||||
Mathieu Leplatre <leplatrem@gmail.com>
|
||||
Tinmn <royque@gmail.com>
|
||||
Xavier Mehrenberger <xavier.mehrenberger@gmail.com>
|
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
|
@ -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
|
30
README.rst
30
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
|
||||
<https://pypi.python.org/pypi/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!
|
||||
|
|
69
setup.py
Normal file
69
setup.py
Normal file
|
@ -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 :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"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)
|
Loading…
Reference in a new issue