|
1 | 1 | # Copyright 2014-2015 0xc0170
|
| 2 | +# Copyright (c) 2021 Chris Reed |
2 | 3 | #
|
3 | 4 | # Licensed under the Apache License, Version 2.0 (the "License");
|
4 | 5 | # you may not use this file except in compliance with the License.
|
|
12 | 13 | # See the License for the specific language governing permissions and
|
13 | 14 | # limitations under the License.
|
14 | 15 |
|
15 |
| -import os |
16 |
| -from setuptools import setup, find_packages |
| 16 | +from setuptools import setup |
17 | 17 |
|
18 |
| -def read(fname): |
19 |
| - with open(os.path.join(os.path.dirname(__file__), fname), 'r') as f: |
20 |
| - return f.read() |
21 |
| - |
22 |
| -setup( |
23 |
| - name='project_generator', |
24 |
| - description='Project generators for various embedded tools (IDE). IAR, uVision, Makefile and many more in the roadmap!', |
25 |
| - author='Martin Kojtal', |
26 |
| - |
27 |
| - keywords="c cpp project generator embedded", |
28 |
| - url="https://github.com/project-generator/project_generator", |
29 |
| - license="Apache 2.0", |
30 |
| - classifiers=[ |
31 |
| - "Development Status :: 4 - Beta", |
32 |
| - "Environment :: Console", |
33 |
| - "License :: OSI Approved :: Apache Software License", |
34 |
| - "Operating System :: OS Independent", |
35 |
| - "Programming Language :: Python", |
36 |
| - "Programming Language :: C", |
37 |
| - "Programming Language :: C++", |
38 |
| - "Topic :: Software Development" |
39 |
| - "Topic :: Software Development :: Embedded Systems", |
40 |
| - ], |
41 |
| - long_description=read('README.md'), |
42 |
| - long_description_content_type='text/markdown', |
43 |
| - use_scm_version={ |
44 |
| - 'local_scheme': 'dirty-tag', |
45 |
| - 'write_to': 'project_generator/_version.py' |
46 |
| - }, |
47 |
| - setup_requires=[ |
48 |
| - 'setuptools>=40.0', |
49 |
| - 'setuptools_scm!=1.5.3,!=1.5.4', |
50 |
| - 'setuptools_scm_git_archive', |
51 |
| - ], |
52 |
| - install_requires=[ |
53 |
| - 'pyyaml>=5.1,<6.0', |
54 |
| - 'Jinja2>2.0<3.0', |
55 |
| - 'xmltodict', |
56 |
| - 'project_generator_definitions>=0.2.2,<0.3.0', |
57 |
| - ], |
58 |
| - packages=find_packages(), |
59 |
| - entry_points={ |
60 |
| - 'console_scripts': [ |
61 |
| - "project_generator=project_generator.__main__:main", |
62 |
| - "progen=project_generator.__main__:main", |
63 |
| - ] |
64 |
| - }, |
65 |
| - include_package_data=True, |
66 |
| - zip_safe=True, |
67 |
| - options={ |
68 |
| - 'bdist_wheel': { |
69 |
| - 'universal': True, |
70 |
| - }, |
71 |
| - }, |
72 |
| -) |
| 18 | +setup() |
0 commit comments