-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
74 lines (61 loc) · 2.53 KB
/
setup.py
File metadata and controls
74 lines (61 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
"""setup.py - install script for bassclef"""
# Copyright 2015, 2016, 2020 Thomas J. Duck.
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
#
# 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
from setuptools import setup
DESCRIPTION = """Bassclef CMS."""
VERSION = '0.2'
# Check the python version
if sys.version_info < (3, ):
print('Python >= 3 required. Exiting.')
sys.exit(1)
setup(
name='Bassclef CMS',
version=VERSION,
author='Thomas J. Duck',
author_email='tomduck@tomduck.ca',
description=DESCRIPTION,
long_description=DESCRIPTION,
license='GPL',
keywords='bassclef cms',
url='https://github.com/tomduck/bassclef',
download_url='https://github.com/tomduck/bassclef/tarball/'+VERSION,
install_requires=['pyyaml', 'pandoc-tpp', 'PyRSS2Gen'],
packages=['bassclef'],
entry_points={'console_scripts':['bcms = bassclef.bcms:main']},
include_package_data = True,
package_data = {'bassclef': ['data/Makefile',
'data/config.ini',
'data/markdown/*.*',
'data/images/*.*',
'data/css/*.*',
'data/fonts/*.*',
'data/javascript/*.*',
'data/templates/*.*',
'data/subrepos/skeleton/css/*.*',
'data/subrepos/html5shiv/src/*.*',
'data/subrepos/open-sans/css/*.*',
'data/subrepos/open-sans/fonts/*/*.*',
'data/subrepos/font-awesome/css/*.*',
'data/subrepos/font-awesome/fonts/*.*'
]},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python'
],
)