Skip to content

Instantly share code, notes, and snippets.

@iLoveTux
Created February 9, 2016 22:16
Show Gist options
  • Save iLoveTux/50d6d3b8ce373c7d02d2 to your computer and use it in GitHub Desktop.
Save iLoveTux/50d6d3b8ce373c7d02d2 to your computer and use it in GitHub Desktop.
setuptools setup.py minimal example
"""
Minimal setuptools setup.py example
Useful links:
https://pythonhosted.org/setuptools/setuptools.html#command-reference
https://pythonhosted.org/setuptools/setuptools.html#basic-use
https://pythonhosted.org/setuptools/setuptools.html#new-and-changed-setup-keywords
https://pypi.python.org/pypi?%3Aaction=list_classifiers
"""
from setuptools import setup
setup(
name = "my_package",
version = "0.0.1",
author = "me",
author_email = "me@mydomain.com",
description = ("A short description here"),
license = "GPLv3",
keywords = "keywords here",
url = "http://github.com/me/my_package",
packages=['package_name'],
long_description="Long description",
classifiers=[
"Development Status :: 1 - Planning",
"Topic :: Utilities",
"License :: OSI Approved :: GPLv3",
],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment