-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
executable file
·45 lines (40 loc) · 1.2 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
#! /usr/bin/env python
# coding=utf-8
import codecs
from distutils.core import setup
import os
from setuptools import find_packages
def get_readme():
return codecs.open("README.rst", encoding="utf-8").read()
setup(
name="pyldraw",
description="A package for working with LDraw format files.",
long_description=get_readme(),
author=" David Boddie <[email protected]>",
maintainer="Matthieu Berthomé <[email protected]>",
author_email="[email protected], [email protected]",
version=os.environ.get("TAG_NAME", os.environ.get("TRAVIS_TAG", "dev")),
python_requires=">=3.5, <3.9",
packages=find_packages(),
package_data={"ldraw": ["templates/*.mustache"]},
use_scm_version=True,
setup_requires=["setuptools_scm"],
entry_points={
"console_scripts": [
"ldr2inv = ldraw.tools.ldr2inv:main",
"ldr2png = ldraw.tools.ldr2png:main",
"ldr2pov = ldraw.tools.ldr2pov:main",
"ldr2svg = ldraw.tools.ldr2svg:main",
],
},
install_requires=[
"appdirs",
"numpy",
"pymklist",
"pystache",
"attrdict",
"progress",
"PyYaml",
"Pillow",
],
)