This repository has been archived by the owner on Feb 27, 2021. It is now read-only.
forked from bbmokhtari/django-translations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.4 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
43
44
45
46
47
48
import setuptools
import json
with open('./.github/README.md', 'r') as fh:
long_description = fh.read()
with open('config.json', 'r') as fh:
info = json.load(fh)
setuptools.setup(
name=info['project']['dist'],
version=info['release']['name'],
description=info['project']['desc'],
long_description=long_description,
long_description_content_type='text/markdown',
url=info['urls']['source'],
author=info['author']['name'],
author_email=info['author']['email'],
classifiers=[
'Development Status :: ' + info['release']['classifier'],
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Internationalization',
],
keywords=' '.join(info['keywords']),
project_urls={
'Documentation': info['urls']['documentation'],
'Source': info['urls']['source'],
'Tracker': info['urls']['tracker'],
},
packages=setuptools.find_packages(
exclude=[
'sample',
'sample.migrations',
'tests',
]
),
python_requires='>=3.5, <4',
)