-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (32 loc) · 1.15 KB
/
setup.py
File metadata and controls
40 lines (32 loc) · 1.15 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
38
39
40
from setuptools import setup, find_packages
from distutils.core import Extension
VERSION = '0.1.1'
def requirements():
with open('requirements.txt', 'r') as f:
return f.read().splitlines()
def readme():
with open('readme.md', 'r') as f:
return f.read()
geolib = Extension('geolib', ['pygclib/geography/geodesic.c', 'pygclib/geography/geolib.c'])
setup(name='pygclib',
version=VERSION,
description='A library for paragliding races',
long_description=readme(),
url='https://github.com/igclib/pygclib',
author='Téo Bouvard',
author_email='teobouvard@gmail.com',
license='GPL-3',
packages=find_packages(include=['pygclib']),
ext_modules=[geolib],
install_requires=requirements(),
scripts=['pygclib/bin/pygclib'],
python_requires='>=3.5',
classifiers=[
'Intended Audience :: Developers',
'Operating System :: Unix',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
zip_safe=True)