-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
38 lines (31 loc) · 1.04 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
import os
import re
import setuptools
def get_version(package):
with open(os.path.join(package, "__version__.py")) as f:
return re.search("__version__ = ['\"]([^'\"]+)['\"]", f.read()).group(1)
def get_readme():
with open("README.md", encoding="utf8") as f:
return f.read()
setuptools.setup(
name="nejma",
version=get_version("nejma"),
url="https://github.com/taoufik07/nejma",
license="BSD",
description="Talk realtime with groups",
long_description=get_readme(),
long_description_content_type="text/markdown",
author="Taoufik Abbassid",
author_email="abacidtaoufik@gmail.com",
packages=setuptools.find_packages(),
python_requires=">=3.6",
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)