-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (50 loc) · 1.78 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from pathlib import Path
from re import sub as re_sub
from setuptools import setup, find_packages
with open('requirements.txt', 'r') as reqs:
requires = reqs.readlines()
with open('version.env', 'r') as v:
version = v.readlines()
tests_require = ['pytest', 'pytest-cov']
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
long_description = re_sub(r"\n## License\n.*LICENSE.*\n", "", long_description)
setup(
name='nikas',
version=version[0],
author='Arash Hatami',
author_email='hatamiarash7@gmail.com',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
url='https://github.com/Nikas-Project/Server',
license='MIT',
description='The first persian comment system ',
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.6',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Natural Language :: Persian",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
install_requires=requires,
setup_requires=["cffi>=1.15.0", "argon2-cffi>=21.3.0"],
tests_require=tests_require,
entry_points={
'console_scripts':
['nikas = nikas:main'],
},
)