-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·36 lines (34 loc) · 1.17 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
from src.castic.globals import __shell__, getVersion
from src.bin.installme import setupDependencies
setup(
name = 'castic',
version = getVersion(),
description = 'A web-based monitor/management built on the top of the non-graphical open-source backup program \'restic\'.',
long_description = open('README.md').read(),
author = 'Dominic Zoerb',
author_email = 'dominic.zoerb@gmail.com',
license = 'GPL3',
url = 'https://bitbucket.org/zoerbd/castic',
download_url = 'https://bitbucket.org/zoerbd/castic',
packages = find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [
'Environment :: Web Environment',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django'
],
install_requires = open('requirements.txt').read(),
scripts = ['src/manage.py']
)
# try to execute installme-script
try:
setupDependencies().startSetup()
except:
print('////////')
print(' For full setup that includes user creation, database-migration, webserver-infrastructure and more, execute >>>src/bin/installme.py<<<')
print('////////')