forked from hoffstadt/DearPyGui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (47 loc) · 2.1 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
from setuptools import setup, find_packages, Distribution
from codecs import open
from os import path
# import readme content
with open("../docs/README.md", encoding='utf-8') as f:
long_description = f.read()
# use info file created by BuildPythonWheel.py
with open("distinfo.txt", encoding='utf-8') as file:
lines = file.readlines()
DEARPYGUI_VERSION = lines[0].rstrip("\n")
class BinaryDistribution(Distribution):
"""Distribution which always forces a binary package with platform name"""
def has_ext_modules(foo):
return True
setup(
name='dearpygui', # Required
version=DEARPYGUI_VERSION, # Required
author="Jonathan Hoffstadt and Preston Cothren", # Optional
author_email="[email protected]", # Optional
description='DearPyGui: A simple Python GUI Toolkit', # Required
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional
url='https://github.com/hoffstadt/DearPyGui', # Optional
license = 'MIT',
python_requires='>=3.6',
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',
],
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
package_data={ # Optional
'dearpygui': ["core.so", "core.pyd", "core.pyi", "simple.py", "demo.py"],
},
distclass=BinaryDistribution
)