-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (42 loc) · 1.61 KB
/
Copy pathsetup.py
File metadata and controls
51 lines (42 loc) · 1.61 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
45
46
# This is the setup info for the python installer.
# You probably don't need to do anything with it directly.
# Just run make and it will be used to create a distributable package
# for more info on how this works, see:
#\thttp://wheel.readthedocs.org/en/latest/
#\tand/or
#\thttp://pythonwheels.com
from setuptools import setup, Distribution
class BinaryDistribution(Distribution):
def is_pure(self):
return True # return False if there is OS-specific files
if __name__ == '__main__':
import sys
import os
here=os.path.dirname(os.path.realpath( __file__ ))
sys.path.append(here)
name='smartimage'
# See also: https://setuptools.readthedocs.io/en/latest/setuptools.html
setup(
name=name,
version='1.0',
description='This format allows an image to behave smartly',
long_description='Really, the funniest around.',
classifiers=[ # http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
#'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7', # written for python version
# 'Topic :: ', # file this under a topic
],
#url='http://myproduct.com',
#author='me',
#author_email='x@y.com',
#license='MIT',
packages=[name],
package_dir={name:here},
package_data={ # add extra files for a package
name:[]
},
distclass=BinaryDistribution,
install_requires=[], # add dependencies from pypi
dependency_links=[], # add dependency urls (not in pypi)
)