-
Notifications
You must be signed in to change notification settings - Fork 234
/
setup.py
36 lines (33 loc) · 1.12 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
import os
import io
import json
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with io.open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=3.0'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)