forked from ngnpope/pycpuid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (39 loc) · 1.51 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) Bram de Greve <bram.degreve@bramz.net>
# Copyright (c) Flight Data Services Ltd
# http://www.flightdataservices.com
# See the file "LICENSE" for the full license governing this code.
import pycpuid as pkg
from setuptools import setup, find_packages, Extension
from requirements import RequirementsParser
requirements = RequirementsParser()
setup(
name=pkg.__packagename__,
version=pkg.__version__,
author=pkg.__author__,
author_email=pkg.__author_email__,
maintainer=pkg.__maintainer__,
maintainer_email=pkg.__maintainer_email__,
url=pkg.__url__,
description=pkg.__description__,
long_description=open('README.rst').read() + open('CHANGES').read() +
open('TODO').read() + open('AUTHORS').read(),
download_url=pkg.__download_url__,
classifiers=pkg.__classifiers__,
platforms=pkg.__platforms__,
license=pkg.__license__,
keywords=pkg.__keywords__,
packages=find_packages(exclude=('tests',)),
include_package_data=True,
zip_safe=False,
install_requires=requirements.install_requires,
setup_requires=requirements.setup_requires,
tests_require=requirements.tests_require,
extras_require=requirements.extras_require,
dependency_links=requirements.dependency_links,
test_suite='nose.collector',
ext_modules = [Extension('pycpuid._pycpuid', ['pycpuid/_pycpuid.c'])],
)
################################################################################
# vim:et:ft=python:nowrap:sts=4:sw=4:ts=4