-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
105 lines (101 loc) · 3 KB
/
setup.py
File metadata and controls
105 lines (101 loc) · 3 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/usr/bin/env python3
"""
Setup script for fastCrypter package.
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read README file
readme_file = Path(__file__).parent / "README.md"
long_description = (
readme_file.read_text(encoding="utf-8") if readme_file.exists() else ""
)
# Read requirements
requirements_file = Path(__file__).parent / "requirements.txt"
requirements = []
if requirements_file.exists():
requirements = requirements_file.read_text(encoding="utf-8").strip().split("\n")
requirements = [
req.strip() for req in requirements if req.strip() and not req.startswith("#")
]
setup(
name="fastcrypter",
version="2.3.6",
author="Mmdrza",
author_email="pymmdrza@gmail.com",
description="Professional compression and encryption library with native C/C++ acceleration",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Pymmdrza/fastCrypter",
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security :: Cryptography",
"Topic :: System :: Archiving :: Compression",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.8",
install_requires=requirements,
extras_require={
"dev": [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-benchmark>=4.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.5.0",
],
"docs": [
"sphinx>=7.1.0",
"sphinx-rtd-theme>=1.3.0",
],
"native": [
"numpy>=1.24.0",
"cython>=3.0.0",
],
},
entry_points={
"console_scripts": [
"fastCrypter=fastCrypter.cli:main",
],
},
include_package_data=True,
package_data={
"fastCrypter": [
"native/libs/*/*.so",
"native/libs/*/*.dll",
"native/libs/*/*.dylib",
"*.md",
],
},
keywords=[
"encryption",
"compression",
"security",
"cryptography",
"aes",
"chacha20",
"rsa",
"zlib",
"lzma",
"brotli",
"native",
"performance",
"c++",
"custom-encoding",
"fast",
],
project_urls={
"Bug Reports": "https://github.com/Pymmdrza/fastCrypter/issues",
"Source": "https://github.com/Pymmdrza/fastCrypter",
"Documentation": "https://fastCrypter.readthedocs.io/",
},
)