-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
58 lines (50 loc) · 1.75 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
57
58
"""Setup script for lpm."""
import os
import runpy
from setuptools import setup
def get_version():
filename = os.path.join(os.path.dirname(__file__), "lpm", "__init__.py")
var = runpy.run_path(filename)
return var["__version__"]
def get_long_description():
with open("README.md") as fi:
return fi.read()
setup(
name="lpm",
version=get_version(),
entry_points={
"console_scripts": ["lpm=lpm.__main__:cli"],
},
description="Command line application for practicing coding speed.",
author="Jay Mody, Jessica Lim, Maanav Dalal",
packages=["lpm"],
package_dir={"lpm": "lpm"},
package_data={"lpm": ["data/*"]},
include_package_data=True,
url="https://gitlab.cas.mcmaster.ca/modyj/3xa3.git",
license="https://www.gnu.org/licenses/agpl-3.0.html",
long_description=get_long_description(),
long_description_content_type="text/markdown",
install_requires=[
"setuptools",
'windows-curses >= 2.2.0 ; platform_system=="Windows"',
],
# python_requires=">=3.6.0",
zip_safe=True,
test_suite="tests",
keywords=["lpm", "typing", "typist", "code", "keyboard"],
platforms=["unix", "linux", "osx", "cygwin"],
classifiers=[
"Environment :: Console",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: PyPy",
],
)