|
336
|
1 |
import os |
|
|
2 |
import sys |
|
|
3 |
|
|
334
|
4 |
from setuptools import setup, find_packages |
|
|
5 |
|
|
|
6 |
# Dynamically calculate the version based on django.VERSION. |
|
|
7 |
version = __import__('renkanmanager').get_version() |
|
|
8 |
|
|
336
|
9 |
def launch_setup(script_name, script_args): |
|
334
|
10 |
|
|
336
|
11 |
setup( |
|
|
12 |
script_name = script_name, |
|
|
13 |
script_args = script_args, |
|
|
14 |
name='renkanmanager', |
|
|
15 |
version=version, |
|
|
16 |
url='http://renkan.iri-research.org/', |
|
|
17 |
author='I.R.I.', |
|
|
18 |
author_email='contact@iri-research.org', |
|
|
19 |
description=('Basic Django module for saving renkan'), |
|
|
20 |
license='CECILL-B', |
|
|
21 |
packages=find_packages(), |
|
|
22 |
include_package_data=True, |
|
|
23 |
zip_safe=False, |
|
|
24 |
classifiers=[ |
|
|
25 |
'Development Status :: 3 - Alpha', |
|
|
26 |
'Environment :: Web Environment', |
|
|
27 |
'Framework :: Django', |
|
|
28 |
'Intended Audience :: Developers', |
|
|
29 |
'License :: OSI Approved :: CECILL License', |
|
|
30 |
'Operating System :: OS Independent', |
|
|
31 |
'Programming Language :: Python', |
|
|
32 |
'Programming Language :: Python :: 2', |
|
|
33 |
'Programming Language :: Python :: 2.7', |
|
|
34 |
'Topic :: Internet :: WWW/HTTP', |
|
|
35 |
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
|
|
36 |
'Topic :: Internet :: WWW/HTTP :: WSGI', |
|
|
37 |
'Topic :: Software Development :: Libraries :: Python Modules', |
|
|
38 |
], |
|
|
39 |
) |
|
|
40 |
|
|
|
41 |
if __name__ == "__main__": |
|
|
42 |
|
|
|
43 |
script_name = os.path.basename(sys.argv[0]) |
|
|
44 |
script_args = sys.argv[1:] |
|
|
45 |
|
|
|
46 |
launch_setup(script_name, script_args) |