-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (27 loc) · 892 Bytes
/
setup.py
File metadata and controls
34 lines (27 loc) · 892 Bytes
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
from distutils.util import convert_path
from setuptools import setup, find_packages
package_name = 'renderable-box'
package_directory = package_name.replace('-', '_')
package_info = {}
with open(convert_path(f'{package_directory}/package.py'), 'r') as file:
exec(file.read(), package_info)
requirements = [
'renderable-core@git+https://github.com/therenderable/renderable-core.git'
]
entrypoints = {
'console_scripts': [
f'{package_name} = {package_directory}.cli.__main__:main'
]
}
setup(
name = package_name,
version = package_info['__version__'],
description = package_info['__description__'],
author = package_info['__author__'],
author_email = package_info['__email__'],
license = package_info['__license__'],
python_requires = '>=3.7.0',
install_requires = requirements,
packages = find_packages(),
entry_points = entrypoints,
zip_safe = False)