-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
43 lines (39 loc) · 1.37 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
with open('./requirements.txt') as f:
INSTALL_REQUIRES = f.read().splitlines()
def _get_version():
from os.path import abspath, dirname, join
filename = join(dirname(abspath(__file__)), 'rrgit', 'version.py')
line = open(filename).read()
return line.replace('VERSION=', '').strip().strip("'")
setup(
name="rrgit",
author="Adam Haile",
author_email="[email protected]",
version=_get_version(),
description="CLI tool for syncing files to and from RepRapFirmware 3 via the web API",
long_description=open('README.md').read(),
url="https://github.com/adammhaile/rrgit",
license="GNU General Public License v3 (GPLv3)",
packages=find_packages(exclude=[]),
include_package_data=True,
entry_points={
'console_scripts': [
'rrgit = rrgit:main',
'rrg = rrgit:main',
]
},
install_requires=INSTALL_REQUIRES,
dependency_links=[],
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
]
)