-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
50 lines (46 loc) · 1.67 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
from polytester import __name__ as package_name
DESCRIPTION = "A simple, easy-to-use multi-language test runner."
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
VERSION = "1.2.3"
reqs = []
with open("requirements.txt", "r+") as f:
for line in f.readlines():
reqs.append(line.strip())
try:
import os
long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
except:
long_description = DESCRIPTION + '\n'
setup(
name=package_name,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
author="Steven Skoczen",
author_email="[email protected]",
url="https://github.com/skoczen/polytester",
version=VERSION,
download_url=f"https://github.com/skoczen/polytester/archive/refs/tags/{VERSION}.tar.gz",
install_requires=reqs,
packages=find_packages(),
include_package_data=True,
keywords=["test", "multi-language", "nose", "karma", "jasmine", "rails", "runner", "junit", "pytest"],
classifiers=[
"Programming Language :: Python",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
'console_scripts': ['pt = polytester.main:main', 'polytester = polytester.main:main'],
},
)