forked from Nokia-Bell-Labs/minifold
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·44 lines (37 loc) · 1.07 KB
/
setup.py
File metadata and controls
executable file
·44 lines (37 loc) · 1.07 KB
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
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
#
# Usage:
# python3 setup.py install
# python3 setup.py bdist_rpm
from setuptools import find_packages, setup
__version__ = (0, 9, 2)
README = ""
try:
with open("README.rst") as f_readme:
README = f_readme.read()
except:
pass
HISTORY = ""
try:
with open("HISTORY.rst") as f_history:
HISTORY = f_history.read()
except:
pass
LONG_DESCRIPTION = "%s\n\n%s" % (README, HISTORY)
# Copy is only triggered if the file does not yet exists.
setup(
name = "minifold",
version = ".".join(["%s" % x for x in __version__]),
description = "minifold",
long_description = LONG_DESCRIPTION,
author = "Marc-Olivier Buob",
author_email = "marc-olivier.buob@nokia-bell-labs.com",
url = "http://github.com/nokia/minifold",
license = "BSD-3",
zip_safe = False,
packages = ["minifold"],
package_dir = {"minifold" : "src"},
requires = ["typing"],
test_suite = "tests",
)