Skip to content

Commit 4d627e4

Browse files
committed
mostly working ready for upload to claim name
1 parent c1a2612 commit 4d627e4

File tree

3 files changed

+42
-106
lines changed

3 files changed

+42
-106
lines changed

MANIFEST.in

Whitespace-only changes.

setup.cfg

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[metadata]
2+
name = nvdocker
3+
version = 0.0.1
4+
author = ACM@UIUC
5+
author-email = acm@illinois.edu
6+
summary = Python interface for NVIDIA Docker
7+
description-file =
8+
README.md
9+
home-page = https://github.com/acm-uiuc/nvdocker
10+
requires-dist = setuptools
11+
classifiers =
12+
Development Status :: 3 - Alpha
13+
Intended Audience :: Developers
14+
Intended Audience :: Science/Research
15+
Topic :: Scientific/Engineering :: Artificial Intelligence
16+
License :: OSI Approved :: University of Illinois/NCSA Open Source License
17+
Programming Language :: Python :: 2
18+
Programming Language :: Python :: 2.7
19+
Programming Language :: Python :: 3
20+
Programming Language :: Python :: 3.4
21+
Programming Language :: Python :: 3.5
22+
Programming Language :: Python :: 3.6
23+
Operating System :: POSIX :: Linux
24+
25+
[bdist_wheel]
26+
universal = 1

setup.py

Lines changed: 16 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,29 @@
11
from setuptools import setup, find_packages
2+
from codecs import open
23
from os import path
34

5+
here = path.abspath(path.dirname(__file__))
6+
47
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
5-
long_description = f.read()
8+
long_description = f.read()
69

710
# Arguments marked as "Required" below must be included for upload to PyPI.
811
# Fields marked as "Optional" may be commented out.
912

1013
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',
7323
'Intended Audience :: Developers',
7424
'Intended Audience :: Science/Research',
7525
'Topic :: Scientific/Engineering :: Artificial Intelligence',
76-
77-
# Pick your license as you wish
7826
'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.
8227
'Programming Language :: Python :: 2',
8328
'Programming Language :: Python :: 2.7',
8429
'Programming Language :: Python :: 3',
@@ -87,42 +32,7 @@
8732
'Programming Language :: Python :: 3.6',
8833
'Operating System :: POSIX :: Linux'
8934
],
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'],
12838
)

0 commit comments

Comments
 (0)