2018-05-10 13:57:36 +00:00
|
|
|
from os.path import dirname, realpath, join
|
|
|
|
|
2018-05-10 15:09:34 +00:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2018-05-10 14:51:47 +00:00
|
|
|
here = dirname(realpath(__file__))
|
2018-05-10 13:57:36 +00:00
|
|
|
|
2018-05-10 14:51:47 +00:00
|
|
|
with open(join(here, 'VERSION'), 'r') as ifile:
|
2018-05-10 13:57:36 +00:00
|
|
|
version = ifile.read().strip('\n')
|
2018-05-10 14:51:47 +00:00
|
|
|
with open(join(here, 'requirements.txt'), 'r') as ifile:
|
|
|
|
requirements = ifile.read().splitlines()
|
2018-05-10 13:57:36 +00:00
|
|
|
|
2018-06-14 14:52:38 +00:00
|
|
|
setup(
|
|
|
|
name = 'tfw',
|
|
|
|
version = version,
|
|
|
|
description = 'Avatao tutorial-framework',
|
|
|
|
url = 'https://github.com/avatao-content/baseimage-tutorial-framework',
|
|
|
|
author = 'Avatao.com Innovative Learning Kft.',
|
|
|
|
author_email = 'support@avatao.com',
|
|
|
|
license = 'custom',
|
|
|
|
packages = find_packages('lib'),
|
|
|
|
package_dir = {'': 'lib'},
|
|
|
|
install_requires = requirements,
|
|
|
|
extras_require = {
|
|
|
|
'docs': [
|
|
|
|
'sphinx >= 1.7.0',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
zip_safe = False,
|
|
|
|
)
|