Skip to content

Commit

Permalink
Add support for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Aug 22, 2019
1 parent e87d8fa commit 805b86a
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,6 +1,9 @@
*.pyc
cover/**
.coverage
dist
*.egg-info
build

# Automatically generated
test_docs.py
6 changes: 6 additions & 0 deletions setup.cfg
@@ -0,0 +1,6 @@
[metadata]
license_files = LICENSE.txt

[bdist_wheel]
# Support for both Python 2 and 3
universal=1
46 changes: 46 additions & 0 deletions setup.py
@@ -0,0 +1,46 @@
"""A fast subset of maya.cmds"""

import os
from setuptools import setup

__version__ = None
with open(os.path.join(os.path.dirname(__file__), "cmdx.py")) as f:
for line in f:
if line.startswith("__version__"):
eval(line)
break

assert __version__, "Could not determine version"


classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Utilities",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
]


setup(
name="cmdx",
version=__version__,
description=__doc__,
keywords="Fast subset of maya.cmds",
long_description=__doc__,
url="https://github.com/mottosso/cmdx",
author="Marcus Ottosson",
author_email="me@mottosso.com",
license="BSD",
zip_safe=False,
py_modules=["cmdx"],
classifiers=classifiers,
)

0 comments on commit 805b86a

Please sign in to comment.