setup.py
1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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',
],
)