forked from MantisAI/nervaluate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (33 loc) · 1.12 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
import os
# read the contents of your README file
from os import path
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
# Load data from the__versions__.py module. Change version, etc in
# that module, and it will be automatically populated here.
about = {}
version_path = os.path.join(here, 'nervaluate', '__version__.py')
with open(version_path, 'r') as f:
exec(f.read(), about)
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=about["__name__"],
version=about["__version__"],
description=about["__description__"],
long_description=long_description,
long_description_content_type='text/markdown',
url=about["__url__"],
author=about["__author__"],
author_email=about["__author_email__"],
license=about["__license__"],
packages=["nervaluate"],
classifiers=[
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
],
tests_require=["pytest"],
include_package_data=True,
zip_safe=True,
)