view setup.py @ 48:0a2d12d4ffd6

setup.py: use a minor version for first release
author Goffi <goffi@goffi.org>
date Mon, 02 Apr 2018 10:34:43 +0200
parents c8cb4e867897
children c09d4ce9ad52
line wrap: on
line source

#!/usr/bin/env python2
# -*- coding: utf-8 -*-

# SàT tmp: repository to store temporary patches for third party software
# Copyright (C) 2017  Arnaud Joset (info@agayon.be)
# Copyright (C) 2009-2017  Jérôme Poisson (goffi@goffi.org)
# Copyright (C) 2013-2016 Adrien Cossa (souliane@mailoo.org)

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

import sys
from setuptools import setup, find_packages


includefiles = ['COPYING','README']
include_modules = []

base = None
NAME = 'sat_tmp'
is_wheel = 'bdist_wheel' in sys.argv

excluded = []

def create_package_list(base_package):
    return ([base_package] + [base_package + '.' + pkg for pkg in find_packages(base_package)])

setup_info = dict(
    name=NAME,
    version='0.0.1',
    author='Association « Salut à Toi »',
    author_email='contact@salut-a-toi.org',
    url='https://salut-a-toi.org',
    classifiers=['Development Status :: 3 - Alpha',
                 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
                 'Operating System :: POSIX :: Linux',
                 'Topic :: Communications :: Chat'],
    install_requires=['wokkel >= 0.7.1'],
    packages=create_package_list('sat_tmp'),
    zip_safe=True,
)

setup(**setup_info)