-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (29 loc) · 952 Bytes
/
setup.py
File metadata and controls
34 lines (29 loc) · 952 Bytes
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
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
requires = ['psutil', 'django']
if sys.platform == 'darwin':
requires.append('netifaces')
setup(
name='django-linux-dash',
version='0.1',
description='A clone of linux-dash written in Django, Also Support OS X, Most use psutils, Not use systemcall method.',
long_description=README,
author='Dongweiming',
author_email='ciici123@gmail.com',
url='https://github.com/dongweiming/django-linux-dash/',
download_url = '',
packages=['dash'],
package_data={'': ['LICENSE']},
include_package_data=True,
install_requires=requires,
license="MIT",
classifiers = '',
zip_safe=False,
)