forked from neocortix/ncscli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (34 loc) · 1.38 KB
/
setup.py
File metadata and controls
39 lines (34 loc) · 1.38 KB
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
import setuptools
import shutil
__version__ = '1.2.3'
with open("README.md", "r") as fh:
long_description = fh.read()
cacheDirPath = 'ncscli/__pycache__'
if os.path.isdir( cacheDirPath ):
shutil.rmtree( cacheDirPath )
#print( '>>found packages', setuptools.find_packages( exclude=["examples"] ) )
setuptools.setup(
name="ncscli", # hopefully doen't need username-suffix
version=__version__,
python_requires='>=3.6',
install_requires=[ 'python-dateutil>=2.8.0', 'requests>=2.12.4',
'asyncssh>=1.16.1', 'psutil>=5.7.2'
],
scripts=['ncscli/ncs.py', 'ncscli/jsonToInv.py', 'ncscli/purgeKnownHosts.py', 'ncscli/tellInstances.py'],
packages=["ncscli", 'ncsexamples'],
package_dir = { 'ncscli': 'ncscli', 'ncsexamples': 'examples' },
package_data = { '': ['*', '*/*', '*/*/*', '*/*/*/*', '*/*/*/*/*'] },
exclude_package_data = { '': ['*_pycache_*', '*.pyc', '*/*.pyc'] },
description="ncscli is the command-line and python interface for Neocortix Cloud Services.",
author="Neocortix, Inc.",
author_email="info@neocortix.com",
url="https://github.com/neocortix/ncscli",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
)