-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
39 lines (34 loc) · 1.11 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
import os
from setuptools import setup
from pathlib import Path
# read the contents of your README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
version = os.environ['GITHUB_REF_NAME']
setup(
name='homgarapi',
version=version,
description='HomGar API client',
long_description=long_description,
long_description_content_type='text/markdown',
keywords=['homgar'],
url='https://github.com/Remboooo/homgarapi',
download_url=f"https://github.com/Remboooo/homgarapi/archive/refs/tags/{version}.tar.gz",
author='Rembrand van Lakwijk',
author_email='rem@lakwijk.com',
license='MIT',
packages=['homgarapi'],
install_requires=[
'requests>=2.0.0',
'PyYAML>=5.0.0',
'platformdirs>=4.2.2',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)