forked from hay86/fdfs_client-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (33 loc) · 1.12 KB
/
setup.py
File metadata and controls
38 lines (33 loc) · 1.12 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
#!/usr/bin/env python
import os
from fdfs_client import __version__
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
long_description = f.read()
f.close()
sdict = {
'name' : 'fdfs_client-py',
'version' : __version__,
'description' : 'Python client for Fastdfs ver 4.06',
'long_description' : long_description,
'author' : 'scott yuan',
'author_email' : 'scottzer8@gmail.com',
'maintainer' : 'scott yuan',
'maintainer_email' : 'scottzer8@gmail.com',
'keywords' : ['Fastdfs', 'Distribute File System'],
'license' : 'GPLV3',
'packages' : ['fdfs_client'],
'classifiers' : [
'Development Status :: 1 - Production/Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: GPLV3',
'Operating System :: OS Independent',
'Programming Language :: Python'],
'ext_modules' : [Extension('fdfs_client.sendfile',
sources = ['fdfs_client/sendfilemodule.c'])],
}
setup(**sdict)