-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.43 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
import setuptools
from tunsberg import __name__ as name
from tunsberg import __version__ as version
from tunsberg.utsikten import format_version_tag
# Add README.md as long description
with open('README.md') as f:
readme = f.read()
# Add requirements.txt as requirements
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setuptools.setup(
name=name,
version=version,
description='A collection of opinionated methods, functions, classes and utils for Python, FastAPI and related libraries.',
long_description=readme,
long_description_content_type='text/markdown',
project_urls={
'Github': 'https://github.com/kilobyteno/tunsberg',
},
url='https://github.com/kilobyteno/tunsberg',
author='Kilobyte AS',
license='MIT',
python_requires='>=3.9',
packages=['tunsberg'],
include_package_data=True,
install_requires=requirements,
setuptools_git_versioning={
'enabled': True,
'dev_template': '{tag}',
'dirty_template': '{tag}',
'tag_formatter': format_version_tag,
},
setup_requires=['setuptools-git-versioning<2'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)