forked from GkAntonius/feynman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (32 loc) · 1.1 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
import os
from setuptools import find_packages
install_requires = [
"matplotlib>=1.1",
"numpy>=1.6",
]
def find_package_data(dirname):
paths = []
for (path, directories, filenames) in os.walk(dirname):
for filename in filenames:
# We need the path relative to the main source directory.
paths.append(os.path.join('..', path, filename))
return paths
my_package_data = {'' :
find_package_data('feynman/tests/baseline_images/'),
}
setup_args = dict(
name = 'feynman',
version = '2.0.4',
description = 'Feynman diagrams with python-matplotlib.',
author = 'Gabriel Antonius',
author_email = '[email protected]',
license = 'GPL',
keywords = 'Feynman diagram diagrams',
url = 'http://gkantonius.github.io/feynman',
install_requires = install_requires,
packages = find_packages(),
package_data = my_package_data,
)
if __name__ == "__main__":
from setuptools import setup
setup(**setup_args)