-
Notifications
You must be signed in to change notification settings - Fork 94
/
setup.py
46 lines (40 loc) · 1.48 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for hpccm."""
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
# Get the package version from hpccm/version.py
version = {}
with open(os.path.join(here, 'hpccm', 'version.py')) as fp:
exec(fp.read(), version)
# Get the long description from the README file
with open(os.path.join(here, 'README.md')) as fp:
long_description = fp.read()
setup(
name='hpccm',
version=version['__version__'],
description='HPC Container Maker',
long_description=long_description,
long_description_content_type='text/markdown',
maintainer='Scott McMillan',
maintainer_email='[email protected]',
license='Apache License Version 2.0',
url='https://github.com/NVIDIA/hpc-container-maker',
packages=find_packages(),
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6"
],
# Make hpccm.cli.main available from the command line as `hpccm`.
install_requires=['archspec', "enum34; python_version < '3.4'",
'packaging', 'six'],
entry_points={
'console_scripts': [
'hpccm=hpccm.cli:main']})