-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
60 lines (51 loc) · 1.83 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
48
49
50
51
52
53
54
55
56
57
58
59
60
import setuptools
from codecs import open
import os
wip_version = "2.0.0"
def version_number():
"""This function reads the version number which is populated by github actions"""
if os.environ.get('READTHEDOCS') == 'True':
return wip_version
try:
with open('version_number.txt', encoding='utf-8') as f:
return f.readline().rstrip()
except IOError:
return wip_version
def readme():
try:
with open('README.md', encoding='utf-8') as f:
return f.read()
except IOError:
return 'Not Found'
setuptools.setup(
name="dearpygui_ext",
version=version_number(),
license='MIT',
python_requires='>=3.6',
author="Jonathan Hoffstadt and Preston Cothren",
author_email="[email protected]",
description='Dear PyGui Extensions: Extensions for Dear PyGui',
long_description=readme(),
long_description_content_type="text/markdown",
url='https://github.com/hoffstadt/DearPyGui_Ext', # Optional
packages=['dearpygui_ext'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Education',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows :: Windows 10',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: User Interfaces',
'Topic :: Software Development :: Libraries :: Python Modules',
],
package_data={ # Optional
'dearpygui_ext': ['README.md']
}
)