forked from hoffstadt/DearPyGui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
224 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
out/ | ||
cmake-build-debug/ | ||
cmake-build-release/ | ||
cmake-build-release32/ | ||
Output/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
__pycache__/ | ||
build/ | ||
dearpygui.egg-info/ | ||
dist/ | ||
dearpygui/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import shutil | ||
import os | ||
from os import path | ||
|
||
script_dir = os.getcwd() | ||
|
||
# create the necessary directories if they do not exist | ||
if not os.path.isdir(script_dir + "/dearpygui/"): | ||
os.mkdir(script_dir + "/dearpygui/") | ||
|
||
shutil.copy(script_dir + "/../../cmake-build-release32/DearPyGui/dearpygui.pyd", script_dir + "/dearpygui") | ||
shutil.copy(script_dir + "/../../DearPyGui/stubs/dearpygui.pyi", script_dir + "/dearpygui") | ||
|
||
with open(script_dir + "/dearpygui/__init__.py", 'w') as file: | ||
file.write("pass\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@echo off | ||
|
||
echo Running python preparation script | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\win32\python.exe" "%dir%..\..\Distribution\Win32\BuildPythonWheel.py" | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\win32\python.exe" -m setup bdist_wheel --plat-name win32 | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\win32\python.exe" -m twine upload dist/* | ||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@echo off | ||
|
||
echo Running python preparation script | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\win32\python.exe" "%dir%..\..\Distribution\Win32\BuildPythonWheel.py" | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\win32\python.exe" -m setup bdist_wheel --plat-name win32 | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\win32\python.exe" -m twine upload --repository testpypi dist/* | ||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Include the README | ||
include ../docs/*.md | ||
include ../../docs/*.md | ||
# Include the license file | ||
include ../LICENSE | ||
include ../../LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[metadata] | ||
license_file = ../LICENSE | ||
license_file = ../../LICENSE | ||
[bdist_wheel] | ||
universal = 0 | ||
python-tag = cp38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
__pycache__/ | ||
build/ | ||
dearpygui.egg-info/ | ||
dist/ | ||
dearpygui/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import shutil | ||
import os | ||
from os import path | ||
|
||
script_dir = os.getcwd() | ||
|
||
# create the necessary directories if they do not exist | ||
if not os.path.isdir(script_dir + "/dearpygui/"): | ||
os.mkdir(script_dir + "/dearpygui/") | ||
|
||
shutil.copy(script_dir + "/../../cmake-build-release/DearPyGui/dearpygui.pyd", script_dir + "/dearpygui") | ||
shutil.copy(script_dir + "/../../DearPyGui/stubs/dearpygui.pyi", script_dir + "/dearpygui") | ||
|
||
with open(script_dir + "/dearpygui/__init__.py", 'w') as file: | ||
file.write("pass\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@echo off | ||
|
||
echo Running python preparation script | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\amd64\python.exe" "%dir%..\..\Distribution\Win64\BuildPythonWheel.py" | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\amd64\python.exe" -m setup bdist_wheel --plat-name win_amd64 | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\amd64\python.exe" -m twine upload dist/* | ||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@echo off | ||
|
||
echo Running python preparation script | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\amd64\python.exe" "%dir%..\..\Distribution\Win64\BuildPythonWheel.py" | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\amd64\python.exe" -m setup bdist_wheel --plat-name win_amd64 | ||
|
||
echo Building DearPyGui Wheel | ||
call "%dir%..\..\Dependencies\cpython\PCbuild\amd64\python.exe" -m twine upload --repository testpypi dist/* | ||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Include the README | ||
include ../../docs/*.md | ||
# Include the license file | ||
include ../../LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[metadata] | ||
license_file = ../../LICENSE | ||
[bdist_wheel] | ||
universal = 0 | ||
python-tag = cp38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from setuptools import setup, find_packages, Distribution | ||
from codecs import open | ||
from os import path | ||
|
||
#with open("README.md", encoding='utf-8') as f: | ||
with open("../../docs/README.md") as f: | ||
long_description = f.read() | ||
|
||
|
||
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='0.1.0a21', # Required | ||
description='DearPyGui', # Required | ||
long_description=long_description, # Optional | ||
long_description_content_type='text/markdown', # Optional (see note above) | ||
url='https://github.com/RaylockLLC/DearPyGui', # Optional | ||
license = 'MIT', | ||
python_requires='>=3.8', | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 3.8', | ||
], | ||
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required | ||
package_data={ # Optional | ||
'dearpygui': ['dearpygui.pyd', "dearpygui.pyi"], | ||
}, | ||
distclass=BinaryDistribution | ||
|
||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.