This repository has been archived by the owner on May 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
42 lines (37 loc) · 1.52 KB
/
setup.py
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
import os
from setuptools import find_packages, setup
from compliance.linkage import site_settings
with open(os.path.join(os.path.dirname(__file__), '00README')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# docs build/cleanup
os.system("cd compliance/media/docs && make")
setup(
name='dep-checker',
version=site_settings.gui_version,
packages=find_packages(),
scripts=['manage.py', 'bin/dep-checker.py', 'bin/readelf.py'],
install_requires=['Django>=1.8,<1.9'],
include_package_data=True,
license='BSD License', # example license
description='A framework for finding license dependencies in binary applications.',
long_description=README,
url='https://compliance.linuxfoundation.org/',
author='Jeff Licquia',
author_email='licquia@linuxfoundation.org',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.8', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)