1
1
from setuptools import setup , find_packages
2
+ from codecs import open
2
3
from os import path
3
4
5
+ here = path .abspath (path .dirname (__file__ ))
6
+
4
7
with open (path .join (here , 'README.md' ), encoding = 'utf-8' ) as f :
5
- long_description = f .read ()
8
+ long_description = f .read ()
6
9
7
10
# Arguments marked as "Required" below must be included for upload to PyPI.
8
11
# Fields marked as "Optional" may be commented out.
9
12
10
13
setup (
11
- # This is the name of your project. The first time you publish this
12
- # package, this name will be registered for you. It will determine how
13
- # users can install this project, e.g.:
14
- #
15
- # $ pip install sampleproject
16
- #
17
- # And where it will live on PyPI: https://pypi.org/project/sampleproject/
18
- #
19
- # There are some restrictions on what makes a valid project name
20
- # specification here:
21
- # https://packaging.python.org/specifications/core-metadata/#name
22
- name = 'nvdocker' , # Required
23
-
24
- # Versions should comply with PEP 440:
25
- # https://www.python.org/dev/peps/pep-0440/
26
- #
27
- # For a discussion on single-sourcing the version across setup.py and the
28
- # project code, see
29
- # https://packaging.python.org/en/latest/single_source_version.html
30
- version = '0.0.1' , # Required
31
-
32
- # This is a one-line description or tagline of what your project does. This
33
- # corresponds to the "Summary" metadata field:
34
- # https://packaging.python.org/specifications/core-metadata/#summary
35
- description = 'nvdocker is library built on top of the docker-py python sdk to build and run docker containers using nvidia-docker.' , # Required
36
-
37
- # This is an optional longer description of your project that represents
38
- # the body of text which users will see when they visit PyPI.
39
- #
40
- # Often, this is the same as your README, so you can just read it in from
41
- # that file directly (as we have already done above)
42
- #
43
- # This field corresponds to the "Description" metadata field:
44
- # https://packaging.python.org/specifications/core-metadata/#description-optional
45
- long_description = long_description , # Optional
46
-
47
- # This should be a valid link to your project's main homepage.
48
- #
49
- # This field corresponds to the "Home-Page" metadata field:
50
- # https://packaging.python.org/specifications/core-metadata/#home-page-optional
51
- url = 'https://github.com/acm-uiuc/nvdocker' , # Optional
52
-
53
- # This should be your name or the name of the organization which owns the
54
- # project.
55
- author = 'ACM@UIUC' , # Optional
56
-
57
- # This should be a valid email address corresponding to the author listed
58
- # above.
59
- author_email = 'acm@illinois.edu' , # Optional
60
-
61
- # Classifiers help users find your project by categorizing it.
62
- #
63
- # For a list of valid classifiers, see
64
- # https://pypi.python.org/pypi?%3Aaction=list_classifiers
65
- classifiers = [ # Optional
66
- # How mature is this project? Common values are
67
- # 3 - Alpha
68
- # 4 - Beta
69
- # 5 - Production/Stable
70
- 'Development Status :: 2 - Pre-Alpha' ,
71
-
72
- # Indicate who your project is intended for
14
+ name = 'nvdocker' ,
15
+ version = '0.0.1' ,
16
+ description = 'nvdocker is library built on top of the docker-py python sdk to build and run docker containers using nvidia-docker.' ,
17
+ long_description = long_description ,
18
+ url = 'https://github.com/acm-uiuc/nvdocker' ,
19
+ author = 'ACM@UIUC' ,
20
+ author_email = 'acm@illinois.edu' ,
21
+ classifiers = [
22
+ 'Development Status :: 3 - Alpha' ,
73
23
'Intended Audience :: Developers' ,
74
24
'Intended Audience :: Science/Research' ,
75
25
'Topic :: Scientific/Engineering :: Artificial Intelligence' ,
76
-
77
- # Pick your license as you wish
78
26
'License :: OSI Approved :: University of Illinois/NCSA Open Source License' ,
79
-
80
- # Specify the Python versions you support here. In particular, ensure
81
- # that you indicate whether you support Python 2, Python 3 or both.
82
27
'Programming Language :: Python :: 2' ,
83
28
'Programming Language :: Python :: 2.7' ,
84
29
'Programming Language :: Python :: 3' ,
87
32
'Programming Language :: Python :: 3.6' ,
88
33
'Operating System :: POSIX :: Linux'
89
34
],
90
-
91
- # This field adds keywords for your project which will appear on the
92
- # project page. What does your project relate to?
93
- #
94
- # Note that this is a string of words separated by whitespace, not a list.
95
- keywords = 'docker nvidia-docker development containers frameworks' , # Optional
96
-
97
- # You can just specify package directories manually here if your project is
98
- # simple. Or you can use find_packages().
99
- #
100
- # Alternatively, if you just want to distribute a single Python file, use
101
- # the `py_modules` argument instead as follows, which will expect a file
102
- # called `my_module.py` to exist:
103
- #
104
- # py_modules=["my_module"],
105
- #
106
- packages = find_packages (exclude = ['contrib' , 'docs' , 'tests' ]), # Required
107
-
108
- # This field lists other packages that your project depends on to run.
109
- # Any package you put here will be installed by pip when your project is
110
- # installed, so they must be valid existing projects.
111
- #
112
- # For an analysis of "install_requires" vs pip's requirements files see:
113
- # https://packaging.python.org/en/latest/requirements.html
114
- install_requires = ['docker' ], # Optional
115
-
116
- # List additional groups of dependencies here (e.g. development
117
- # dependencies). Users will be able to install these using the "extras"
118
- # syntax, for example:
119
- #
120
- # $ pip install sampleproject[dev]
121
- #
122
- # Similar to `install_requires` above, these must be valid existing
123
- # projects.
124
- extras_require = { # Optional
125
- 'dev' : ['check-manifest' ],
126
- 'test' : ['coverage' ],
127
- },
35
+ keywords = 'docker nvidia-docker development containers frameworks' ,
36
+ packages = find_packages (exclude = ['contrib' , 'docs' , 'tests' ]),
37
+ install_requires = ['docker' ],
128
38
)
0 commit comments