-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (51 loc) · 1.93 KB
/
Copy pathsetup.py
File metadata and controls
59 lines (51 loc) · 1.93 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
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import sys
from setuptools import setup, find_packages
import opps
REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()]
if sys.argv[1] == 'develop':
REQUIREMENTS += [i.strip()
for i in open("requirements_dev.txt").readlines()]
dependency_links = [
'http://github.com/avelino/django-googl/tarball/master#egg=django-googl',
'http://github.com/opps/opps-piston/tarball/master#egg=opps-piston',
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: Django",
"Framework :: Opps",
'Programming Language :: Python',
"Programming Language :: Python :: 2.7",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules']
try:
long_description = open('README.rst').read()
except:
long_description = opps.__description__
setup(name='opps',
version=opps.__version__,
description=opps.__description__,
long_description=long_description,
classifiers=classifiers,
keywords='opps cms django apps magazines websites',
author=opps.__author__,
author_email=opps.__email__,
url='http://oppsproject.org',
download_url="https://github.com/opps/opps/tarball/master",
license=opps.__license__,
packages=find_packages(exclude=('doc', 'docs', 'example')),
namespace_packages=['opps'],
package_dir={'opps': 'opps'},
install_requires=REQUIREMENTS,
dependency_links=dependency_links,
scripts=['opps/bin/opps-admin.py'],
include_package_data=True,
test_suite='runtests',
zip_safe=False)