Mercurial > sat_tmp
comparison setup.py @ 49:c09d4ce9ad52
cleaned setup.py
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 02 Apr 2018 15:40:52 +0200 |
parents | 0a2d12d4ffd6 |
children | 69b8b0d810f4 |
comparison
equal
deleted
inserted
replaced
48:0a2d12d4ffd6 | 49:c09d4ce9ad52 |
---|---|
17 # GNU Affero General Public License for more details. | 17 # GNU Affero General Public License for more details. |
18 | 18 |
19 # You should have received a copy of the GNU Affero General Public License | 19 # You should have received a copy of the GNU Affero General Public License |
20 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 20 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
21 | 21 |
22 import os | |
22 import sys | 23 import sys |
23 from setuptools import setup, find_packages | 24 from setuptools import setup |
24 | 25 |
25 | 26 |
26 includefiles = ['COPYING','README'] | 27 NAME = 'sat_tmp' |
27 include_modules = [] | |
28 | 28 |
29 base = None | |
30 NAME = 'sat_tmp' | |
31 is_wheel = 'bdist_wheel' in sys.argv | |
32 | 29 |
33 excluded = [] | 30 setup( |
34 | |
35 def create_package_list(base_package): | |
36 return ([base_package] + [base_package + '.' + pkg for pkg in find_packages(base_package)]) | |
37 | |
38 setup_info = dict( | |
39 name=NAME, | 31 name=NAME, |
40 version='0.0.1', | 32 version='0.0.1', |
41 author='Association « Salut à Toi »', | 33 author='Association « Salut à Toi »', |
42 author_email='contact@salut-a-toi.org', | 34 author_email='contact@salut-a-toi.org', |
43 url='https://salut-a-toi.org', | 35 url='https://salut-a-toi.org', |
44 classifiers=['Development Status :: 3 - Alpha', | 36 classifiers=['Development Status :: 3 - Alpha', |
45 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', | 37 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', |
46 'Operating System :: POSIX :: Linux', | 38 'Operating System :: POSIX :: Linux', |
47 'Topic :: Communications :: Chat'], | 39 'Topic :: Communications :: Chat'], |
48 install_requires=['wokkel >= 0.7.1'], | 40 install_requires=['wokkel >= 0.7.1'], |
49 packages=create_package_list('sat_tmp'), | 41 packages=['sat_tmp.wokkel', 'sat_tmp.wokkel.test'], |
50 zip_safe=True, | 42 data_files=[(os.path.join(sys.prefix, 'share/doc', NAME), |
43 ['README', 'COPYING'])], | |
51 ) | 44 ) |
52 | |
53 setup(**setup_info) |