Advertisement
britodfbr

setup.py

Jun 24th, 2015
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.46 KB | None | 0 0
  1. #-*- coding:utf-8 -*-
  2. import os
  3. from setuptools import setup, find_packages
  4.  
  5. NAME = "mypackage"
  6. PACKAGE = NAME
  7. DESCRIPTION = "test package"
  8. AUTHOR = "Ricardo Brito"
  9. AUTHOR_EMAIL = "contato at incolume.com.br"
  10. URL = "http://www.incolume.com.br"
  11. LICENSE="BSD"
  12. LONG_DESCRIPTION = (
  13.     open('README.rst').read()
  14.     + '\n'
  15.     'Contributors\n'
  16.     '============\n'
  17.     + '\n' +
  18.     open('CONTRIBUTORS.rst').read()
  19.     + '\n'
  20.     'Changes\n'
  21.     '=======\n'
  22.     + '\n' +
  23.     open('CHANGES.rst').read()
  24.     + '\n')
  25. VERSION = __import__(PACKAGE).__version__
  26.  
  27. setup(
  28.     name = NAME,
  29.     version = VERSION,
  30.     author=AUTHOR,
  31.     author_email=AUTHOR_EMAIL,
  32.     url=URL,
  33.     description=DESCRIPTION,
  34.     long_description=LONG_DESCRIPTION,
  35.     license=LICENSE,
  36.     include_package_data=True,
  37.     zip_safe=False,
  38.     packages = find_packages(exclude=["tests.*", "tests",'ez_setup']),
  39.     install_requires=[
  40.         'setuptools',
  41.     ],
  42.    # Você pode ver uma lista com todos os classificadores aqui:
  43.    # https://pypi.python.org/pypi?%3Aaction=list_classifiers
  44.     classifiers=[
  45.         'Environment :: Web Environment',
  46.         'Framework :: Plone',
  47.         'Framework :: Plone :: 4.3',
  48.         'Programming Language :: Python',
  49.         'Programming Language :: Python :: 2.7',
  50.         'License :: Other/Proprietary License',
  51.         'Operating System :: OS Independent',
  52.         'Natural Language :: Portuguese',
  53.         'Topic :: Software Development :: Libraries :: Python Modules',
  54.     ]
  55.     )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement