forked from michelp/postgresql-wheel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (55 loc) · 1.92 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import os
import versioneer
from setuptools import setup
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", "..", path, filename))
return paths
with open("README.md") as f:
long_description = f.read()
setup(
name="postgresql_wheel",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="PostgreSQL Server compiled into a Python Wheel.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/michelp/postgresql-wheel",
author="Michel Pelletier",
packages=["postgresql"],
package_dir={"postgresql": "src/postgresql"},
package_data={"postgresql": package_files("src/postgresql")},
setup_requires=["cffi"],
install_requires=["pytest"],
cffi_modules=["src/postgresql/build.py:ffibuilder"],
python_requires=">=3.7,<3.10",
license="Apache License 2.0",
keywords=[
"graphblas",
"graph",
"sparse",
"matrix",
"suitesparse",
"hypersparse",
"hypergraph",
],
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
],
)