-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (33 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
37
38
from os.path import dirname, join
from setuptools import setup, find_packages
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
def read(fname):
return open(join(dirname(__file__), fname)).read()
setup(
name='gonb',
long_description=long_description,
long_description_content_type='text/markdown',
setuptools_git_versioning={
"template": "{tag}",
"dev_template": "{tag}.dev{ccount}",
"dirty_template": "{tag}.post{ccount}+git.{sha}.dirty",
"starting_version": "0.0.1",
"version_callback": None,
"version_file": None,
"count_commits_from_version_file": False,
"branch_formatter": None
},
setup_requires=['setuptools-git-versioning'],
packages=find_packages(),
author='thenodon',
author_email='[email protected],',
url='https://github.com/thenodon/gonb',
license='Apache Software License (http://www.apache.org/licenses/LICENSE-2.0)',
include_package_data=True,
zip_safe=False,
description='A Grafana onboarding tool',
install_requires=read('requirements.txt').split(),
python_requires='>=3.8',
)