-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (33 loc) · 1.05 KB
/
setup.py
File metadata and controls
39 lines (33 loc) · 1.05 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
# python setup.py bdist_wheel
import os
from setuptools import setup
# Requirements
with open("requirements/prod.txt") as f:
reqs = f.read().strip().split("\n")
# Readme
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
__major__ = 0
__minor__ = 7
__patch__ = 1
__version__ = ".".join([str(__major__), str(__minor__), str(__patch__)])
setup(
name="validator",
version=__version__,
description=("Python Validator"),
long_description=read("README.md"),
long_description_content_type="text/markdown",
license="MIT",
packages=["validator", "validator.rules_src", "validator.parser"],
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
url="https://github.com/CSenshi/Validator",
author="Saba Pockhua",
install_requires=reqs,
author_email="saba.pochkhua@gmail.com",
)