-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (40 loc) · 1.33 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
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os.path import join
from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
long_description += '\n\n'
with open('HISTORY.rst') as file:
long_description += file.read()
# Strip RTD :doc: links for PyPI
long_description = long_description.replace(':doc:', '')
init = join('lionshead', '__init__.py')
with open(init) as f:
exec(compile(f.read(), "somefile.py", 'exec'))
setup(
name = 'lionshead',
version = __version__,
packages = find_packages(),
description = 'Detect OS/platforms',
long_description = long_description,
url = 'https://github.com/natefoo/lionshead',
author = 'Nate Coraor',
author_email = '[email protected]',
license = 'MIT',
keywords = 'platform os operating system',
entry_points = {
'console_scripts': [
'lionshead-platform = lionshead:get_specific_platform_string',
'lionshead-stability = lionshead:get_platform_stability_string',
]
},
classifiers = [
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'
],
)