forked from Nature40/sysdweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (61 loc) · 2.01 KB
/
setup.py
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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2016-2018 Óscar García Amor <[email protected]>
#
# Distributed under terms of the GNU GPLv3 license.
import sysdweb as project
import os
from setuptools import find_packages
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = project.NAME,
version = project.VERSION,
author = project.AUTHOR_NAME,
author_email = project.AUTHOR_EMAIL,
description = project.DESCRIPTION,
license = project.LICENSE,
keywords = project.KEYWORDS,
url = project.URL,
long_description=read('README.md'),
long_description_content_type='text/markdown',
packages=find_packages(),
install_requires=read('requirements.txt'),
package_data={'sysdweb': [
'templates/static/css/*',
'templates/static/fonts/*',
'templates/static/img/*',
'templates/static/js/*',
'templates/views/*'
]
},
entry_points={
'console_scripts': [
'sysdweb = sysdweb.main:main'
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Bottle',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: System',
'Topic :: Utilities',
],
project_urls={
'Bug Reports': 'https://github.com/ogarcia/sysdweb/issues',
'Source': 'https://github.com/ogarcia/sysdweb',
},
)