-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (29 loc) · 927 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pyrtitions
version = pyrtitions.__version__
try:
import fastentrypoints
except ImportError:
from setuptools.command import easy_install
import pkg_resources
easy_install.main(['fastentrypoints'])
pkg_resources.require('fastentrypoints')
import fastentrypoints
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'pyrtitions',
py_modules = ['pyrtitions'],
version = version,
description = 'A small library to get partition information on Linux',
author = 'Arsenijs Picugins',
author_email = '[email protected]',
url = 'https://github.com/CRImier/pyrtitions',
download_url = 'https://github.com/CRImier/pyrtitions/archive/{}.tar.gz'.format(version),
keywords = ['linux', 'partitions'],
entry_points={"console_scripts": ["pyrtitions = pyrtitions:__main__"]}
)