from setuptools import setup, find_packages from pip.download import PipSession from pip.req import parse_requirements import os # if you are not using vagrant, just delete os.link directly, # The hard link only saves a little disk space, so you should not care if os.environ.get('USER', '') == 'vagrant': del os.link session = PipSession() reqs = [str(req.req) for req in parse_requirements('requirements.txt', session=session) if req.req] EXCLUDE_FROM_PACKAGES = [] setup( name='colab-gitlab', version='0.1.0', url='https://github.com/colab-community/colab_gitlab', author='Sergio Oliveira', author_email='sergio@tracy.com.br', description= 'Gitlab plugin for Colab, a colaboration platform for communities', license='LICENSE.txt', packages=find_packages(exclude="EXCLUDE_FROM_PACKAGES"), include_package_data=True, namespace_packages=['colab', 'colab.proxy'], zip_safe=False, long_description=open('README.rst').read(), install_requires=reqs, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: WSGI', ], )