-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
36 lines (32 loc) · 1.11 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 json
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("packages/reactivated/package.json", "r") as package:
version = json.load(package)["version"]
setuptools.setup(
name="reactivated",
version=version,
author="Silvio Gutierrez",
author_email="[email protected]",
description="A statically typed framework to create Django sites with a React frontend.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/silviogutierrez/django-react",
packages=setuptools.find_packages(),
package_data={"reactivated": ["py.typed", "templates/**/*"]},
data_files=[('""', ["packages/reactivated/package.json"])],
scripts=[],
install_requires=[
"requests>=2.25.0",
"requests-unixsocket2>=0.4.0",
"mypy~=1.11.0",
"django-stubs~=5.0.0",
"simplejson>=3.16.0",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)