Merge pull request #265 from emanuelen5/master

Making the Python 3 package pip-installable
This commit is contained in:
Jason Watkins
2021-12-04 08:37:39 -08:00
committed by GitHub
3 changed files with 21 additions and 0 deletions

3
.gitignore vendored
View File

@@ -94,3 +94,6 @@ out/
#################
Docs/~$Capability Matrix.xlsx
*.xpl
*.egg-info
build
dist

18
setup.py Executable file
View File

@@ -0,0 +1,18 @@
from setuptools import setup, find_packages
setup(
name="xplaneconnect",
version="1.3rc6",
python_requires=">=3",
packages=find_packages("Python3/src"),
package_dir={"": "Python3/src"},
description="XPlaneConnect (XPC) facilitates communication to and from the XPCPlugin. Note: To use the XPC package, you must first install the XPCPlugin. See https://github.com/nasa/XPlaneConnect/wiki/Getting-Started for instructions on installing the XPCPlugin",
url="https://github.com/nasa/XPlaneConnect/",
project_urls={
"Bug Reports": "https://github.com/nasa/xplaneconnect/issues",
"Organization": "https://www.nasa.gov/content/diagnostics-prognostics",
"Source": "https://github.com/nasa/xplaneconnect",
"Documentation": "https://github.com/nasa/XPlaneConnect/wiki"
}
)